GZip Compression for autoptimize javascript file
-
Hi,
I’m running AutOptimize 2.3.4 width WordPress 4.9.8 and I’ve got an htaccess file activating gzip compression (gzip and caching code from her https://andreashecht-blog.de/4183/ ).
But when I run a GT Metrix test I receive the big error
‘Compressing /cache/autoptimize/js/autoptimize_448deccaad3844a7442fa6914e65c42a.js could save 294.0KiB (70% reduction)’, which takes my whole page speed score down to 77%. All other scores except for the minify javascript option that referes to the same file are 99-100%.I’ve been searching for the option you explained in your faq (′autoptimize_filter_cache_create_static_gzip’), but I do not know where and how to apply it. Also the Plugin AutOptimize GZip Master (from Github) doesn’t change anything
Can you help?
Not checking ‘save as static files’ brings me to 100% at GTMetrix, but lets me loose several website functions including the navigation bar.. If I then exlude the themes app.min.js file from compressions and I force javascript loading into the header, the website works again, but the Page Speed Scroe moves down to 81 %, including a longer loading period than before..
Best regards
Jen
- The topic ‘GZip Compression for autoptimize javascript file’ is closed to new replies.