Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
June 13, 20213 yr Add the following to your .htaccess file # BEGIN GZIP COMPRESSION <IfModulemod_gzip.c> mod_gzip_onYes mod_gzip_dechunkYes mod_gzip_item_includefile.(html?|txt|css|js|php|pl)$ mod_gzip_item_includehandler^cgi-script$ mod_gzip_item_includemime^text/.* mod_gzip_item_includemime^application/x-javascript.* mod_gzip_item_excludemime^image/.* mod_gzip_item_excluderspheader^Content-Encoding:.*gzip.* </IfModule> # END GZIP COMPRESSION Or if you were using Nginx (for future reference), you would add this to your config file (nothing you need to worry about, since you are using Apache). gzipon; gzip_comp_level2; gzip_http_version1.0; gzip_proxied any; gzip_min_length1100; gzip_buffers168k; gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_varyon; Edited June 13, 20213 yr by Linux-Is-Best clarity
June 21, 20213 yr Author On 6/12/2021 at 9:56 PM, Linux-Is-Best said: Add the following to your .htaccess file # BEGIN GZIP COMPRESSION <IfModulemod_gzip.c> mod_gzip_onYes mod_gzip_dechunkYes mod_gzip_item_includefile.(html?|txt|css|js|php|pl)$ mod_gzip_item_includehandler^cgi-script$ mod_gzip_item_includemime^text/.* mod_gzip_item_includemime^application/x-javascript.* mod_gzip_item_excludemime^image/.* mod_gzip_item_excluderspheader^Content-Encoding:.*gzip.* </IfModule> # END GZIP COMPRESSION Or if you were using Nginx (for future reference), you would add this to your config file (nothing you need to worry about, since you are using Apache). gzipon; gzip_comp_level2; gzip_http_version1.0; gzip_proxied any; gzip_min_length1100; gzip_buffers168k; gzip_types text/plain text/html text/css application/x-javascript text/xml application/xml application/xml+rss text/javascript; gzip_varyon; great, thanks a lot.