The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other javascript files not being gzipped in wordpress

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #41958

    Hi All

    I have WP Total Cache and WP Minify plugins installed on my wordpress site, and for some reasons my javascript files are not being gzipped, but everything else is.

    Are there certain settings I need to adjust to enable javascript files?

    Let me know if you need any more information.



    I’m not personally familiar with those plugins, so this is more of a shot in the dark, but do you have access to your .htaccess file on your server? If so, try downloading and using the Gzip compression section of the [HTML5 Boilerplate]( “HTML5 Boilerplate”) setup. It has javascripts included in the list of files types to gzip for you. Open up the .htaccess file on GitHub and look around line 152 or so to find the module. Just copy that into your .htaccess file on your server and it *should* do it for you.

    Alternatively, there appears to be [Good Documentation]( “Good Documentation”) on the subject of setting up Total Cache.

    Sorry I can’t be of more help, but hopefully something here will spark something for you.


    @ilusk thanks for the help. I found out that I had left one box unchecked in the total cache plugin, once I checked that, it was working fine!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Other’ is closed to new topics and replies.