Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8251367
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T00:12:47+00:00 2026-06-08T00:12:47+00:00

We have an API call where a large amount of data(16 MB on average)

  • 0

We have an API call where a large amount of data(16 MB on average) is been sent in the request. The request data is different every time so caching is now good. As our clients receiving the data may use other technologies e.g. PHP, there is a default size which is different across these technologies.

As the data size exceeds the default amount(PHP 8MB), we were thinking of using compression if possible.

Can this be done?

From initial research(may not be correct) compression is used for web site content with caching been used by IIS, so not sure if our problem can be solved using compression.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T00:12:49+00:00Added an answer on June 8, 2026 at 12:12 am

    You can use dynamic content compression.

    Compression is not related to caching on IIS.

    While this will reduce the size, depending on your data(images or video maybe), it may not compress it to below 8MB. You should consider allowing your client to ask for data in chunks.

    Enable chunk transfer encoding on IIS.

    Your php clients can receive this data using a client that supports chunk encoding like guzzle

    The entity body of requests and responses is inherently a PHP stream
    in Guzzle. The body of the request can be either a string or a PHP
    stream which are converted into a Guzzle\Http\EntityBody object using
    its factory method. When using a string, the entity body is stored in
    a temp PHP stream. The use of temp PHP streams helps to protect your
    application from running out of memory when sending or receiving large
    entity bodies in your messages

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just not been able to make even a simple Vimeo API call
I currently have an API call returning me a date/time in the format: 2010-10-10T07:54:01.878926
I have an API call that returns a byte array. I currently stream the
I have the following function in a PHP script, which returns and API call:
I have two development sites call api.localhost and game.localhost . Both are running from
I have an AJAX call getting info out of the Github API. It is
i am using your api and i have made a success call to upload
I have an api which takes uni code data as c character array and
The windows ESE engine API call JetAttachDatabase have a readonly option. Can I use
I have a UIWebView with content populated from a Last.fm API call. This content

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.