1
fredski
GZIP compression problems
  • 2005/2/15 11:45

  • fredski

  • Quite a regular

  • Posts: 265

  • Since: 2004/1/26


I have enabled gzip compression but I have a problem..

When I go to my site http://www.domain.com and check for gzip enabled it says that it isn't, but when I go to http://www.domain.com/index.php it says gzip is enabled.

WHY???????

Obviously when i get a visitor who has typed in domain.com they are going to visit the un gzipped page resulting in a longer page load and possible loss of a user due to not wanting to wait for it to load. Is there a reason for this??

Also would there be a way for an initial visitor to goto domain.com/index.php rather than it state there at domain.com/

I've not used gzip before on my sites before coming over to xoops, but as Im increasing content etc I need my pages to load faster, when I was on static pages I could optimise each page exactly as I needed.

Any help with this would be much appreciated. Thanks

2
Chappy
Re: GZIP compression problems
  • 2005/2/16 5:34

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


I have no idea at all if this thread will be of any help (I'm relatively certain that it does not address your specific issue - but perhaps it touches on it tangetially), but I offer it as some place to start:

https://xoops.org/modules/newbb/viewtopic.php?topic_id=16786&viewmode=flat&order=ASC&start=10

It'll prob land you in the middle of the thread, so you may want to start at the beginning.

3
fredski
Re: GZIP compression problems
  • 2005/2/16 10:33

  • fredski

  • Quite a regular

  • Posts: 265

  • Since: 2004/1/26


Thanks Chappy,

Putting
php_flag zlib.output_compression on
php_value zlib
.output_compression_level 5
into my .htaccess file and disabling compression in XOOPS did the trick. My pages fly now :)

4
Chappy
Re: GZIP compression problems
  • 2005/2/16 11:10

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


You're welcome. I just requested that it be added to the FAQ, as well. Take care! Glad it did the trick...