hi every body .
i was googling Gzip Compression and my result was : https://elgg.org/pages/view/764754/how-to-speed-up-a-slow-site-as-elgg => Gzip Components
then i see this code in .htaccess to use gzip if it is available .
-
<IfModule mod_gzip.c> mod_gzip_on yes mod_gzip_dechunk yes mod_gzip_keep_workfiles No mod_gzip_minimum_file_size 1000 mod_gzip_maximum_file_size 1000000 mod_gzip_maximum_inmem_size 1000000 mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/javascript$ mod_gzip_item_include mime ^application/x-javascript$ # Exclude old browsers and images since IE has trouble with this mod_gzip_item_exclude reqheader "User-Agent: .*Mozilla/4\..*\[" mod_gzip_item_exclude mime ^image/.* </IfModule
now i am confuse how could i enable mod_zip ?
general : how can i use this feature in elgg ?
There was forget i do these :
LoadModule headers_module modules/mod_deflate.so
LoadModule filter_module modules/mod_filter.so
put this at the end of my httpd.conf file:
SetOutputFilter DEFLATE
<Directory "C:/your-server-root/manual"> #any path to which you wish to apply gzip compression to!
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html # or any file type you wish
</IfModule>
</Directory>
???
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- fonly@fateme

fonly - 0 likes
You must log in to post replies.i found my answer tnx .