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 4612644
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:25:49+00:00 2026-05-22T01:25:49+00:00

I am pretty new to the Yii framework, and I needs some help with

  • 0

I am pretty new to the Yii framework, and I needs some help with dealing with compression. I followed this link http://www.yiiframework.com/wiki/39/, which works like a charm! Now my server is compressing everything in the responses.

However, I am also sending images from my client (iPhone) to the server through a POST. I am also compressing the data to the server. However, when I turn on the compression on the client side, things start to fall apart. The server sees the POST call, however, it does not see any of the parameters of the call. I think it is due to not understanding the compression.

I look at the traffic on a proxy, and the POST looks fine, and the data is also as expected.

What do I need to do to enable the server to be able to deal with the POST message with compression on?

Cheers,
Yenyi

  • 1 1 Answer
  • 1 View
  • 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-05-22T01:25:50+00:00Added an answer on May 22, 2026 at 1:25 am

    Compressing image POST uploads is not very efficient. The largest part (99%+) of the request is image data which is already compressed. Adding extra compression will save you maybe a few bytes and it will cost a lot of resources to implement. Compression is a CPU intensive task, so it will also drain the battery of the iPhone.

    Client side compression for HTTP requests is rare and most web servers don’t support it out of the box.

    Read this question regarding server side gzip compression: Compressing content with PHP ob_start() vs Apache Deflate/Gzip?

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

Sidebar

Related Questions

I'm prety new to yii framework so i could use some help with something.
Im pretty new to Linux in general. Ive just been following this tutorial(http://net.tutsplus.com/tutorials/php/how-to-setup-a-dedicated-web-server-for-free/) to
Pretty new to Windows Azure. I've followed this tutorial: tutorial . It works perfectly
I'm pretty new to learning about java and android development; so please help me
pretty new to HTML and I was wondering why this snippet of code doesn't
Pretty new to all this, so if I am going about my puzzle in
I am pretty new to hibernate and I am stuck at this exception. As
Pretty new to dependency injection and I'm trying to figure out if this is
Pretty new to threading and I have this QList that the threads share between
Pretty new to Qt and I ran into this behavior in an app I

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.