zlib compression

spankee

Joined: 2004-06-12
Posts: 51
Posted: Fri, 2006-03-10 07:26

I was wondering if using a php.ini with the code below in it will speed up gallery? And if so what directories should I place it in?

Quote:
zlib.output_compression = On
zlib.output_compression_level = 5

Also I have noticed There are some large style sheets. Can I also use the methods on this site, http://www.fiftyfoureleven.com/sandbox/weblog/2004/jun/the-definitive-css-gzip-method/, to compress them?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2006-03-12 09:49

see our notes on compression (which equals to output buffering to a certain degree) on:
http://codex.gallery2.org/index.php/Gallery2:Performance_Tips#PHP

generally speaking:
the benefit is minimal, probably not worth the hassle.

 
spankee

Joined: 2004-06-12
Posts: 51
Posted: Wed, 2006-03-15 06:41

Thanks for the link.
Your right not worth the hassle right now.

However, in the future when I get time to figure this out is there a way to test for progress bars when the gallery has no photos?