.htaccess - How to enable GZIP Compression on BigCommerce site -


for familiar bigcommerce, i'm sure know whether gzip compression possible configure or not on platform. minified js files , instead of them pointing cdn, they're looking straight local files because way update files.

now want enable gzip these files can't find it(if it's possible).

thank takes time offer answer!

after further research, not have access .htaccess file in bigcommerce. because bigcommerce not run on apache, runs on nginx.

not .htaccess can produce security risks, want avoid using bigcommerce.

you can add following code top of of pages compress php:

<?php if (substr_count($_server['http_accept_encoding'], 'gzip')) ob_start("ob_gzhandler"); else ob_start(); ?> 

Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -