skunkbad Posted October 21, 2009 Report Share Posted October 21, 2009 Normally when I want to turn GZIP compression off for a single page, I would use this in my script: ini_set('zlib.output_compression', 0); but this doesn't work here in mddhosting. Is there something else I should try? I don't want to turn off compression for the whole site, just a page at a time. Quote Link to comment Share on other sites More sharing options...
Michael D. Posted October 21, 2009 Report Share Posted October 21, 2009 Normally when I want to turn GZIP compression off for a single page, I would use this in my script: ini_set('zlib.output_compression', 0); but this doesn't work here in mddhosting. Is there something else I should try? I don't want to turn off compression for the whole site, just a page at a time.It's not turned on in PHP - it's something that is on across the board with LiteSpeed - what is the particular reason you want to disable the GZIP Compression? Quote Link to comment Share on other sites More sharing options...
skunkbad Posted October 21, 2009 Author Report Share Posted October 21, 2009 It's not turned on in PHP - it's something that is on across the board with LiteSpeed - what is the particular reason you want to disable the GZIP Compression? Well, in the PHP manual, on the flush() page, it says: Server modules for Apache like mod_gzip may do buffering of their own that will cause flush() to not result in data being sent immediately to the client. So, in some cases, I turn it off with ini_set(). If it is easy, I'd like to turn it off when I feel like it, but it's not mission critical. Quote Link to comment Share on other sites More sharing options...
Michael D. Posted October 21, 2009 Report Share Posted October 21, 2009 From what I have seen the GZIP compression provided by LiteSpeed will not interfere with flush(). Quote Link to comment Share on other sites More sharing options...
skunkbad Posted October 21, 2009 Author Report Share Posted October 21, 2009 From what I have seen the GZIP compression provided by LiteSpeed will not interfere with flush(). Interesting. Well, you would know more about it than I. This LiteSpeed sounds pretty awesome. Thanks for your time. Quote Link to comment Share on other sites More sharing options...
Michael D. Posted October 21, 2009 Report Share Posted October 21, 2009 No problem - if you have any issues feel free to open a support ticket Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.