Adding GZIP compression to Bolt CMS -
id gzip compress output bolt cms.
i have had in yaml files , there doesnt seem setting.
is there way ?
this not done @ application layer, rather in web server configuration virtual site.
in apache similar should work:
<ifmodule mod_gzip.c> mod_gzip_on yes mod_gzip_dechunk yes mod_gzip_item_include file .(html?|css|php|txt)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^content-encoding:.*gzip.* </ifmodule>
Comments
Post a Comment