Support » Plugin: Autoptimize » Final JS file does not want to pre-gzip.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frank Goossens

    (@futtta)

    well, your autoptimized JS is gzipped (and the pre-gzipped file is there as well), the only message I see in pagespeed insights is;

    Compressing https://emirida.eu/…/virtue/assets/css/fonts/FontAwesome.ttf could save 48KiB (52% reduction).

    and that is something you’ll have to configure in Apache yourself I’m afraid elfmerida 🙂

    frank

    Thread Starter elf Merida

    (@elfmerida)

    Sorry. The problem was with htaccess file.

    Thanks for the quick feedback.

    • This reply was modified 5 years, 4 months ago by elf Merida. Reason: Thanks
    Plugin Author Frank Goossens

    (@futtta)

    no problem 🙂

    Hi elf Merida. What was the issue with the htaccess file? I have gzip turned on and everything is compressing nicely except for a 1.1Mb js file (yeah, I know its huge, but its an old site and full of horrors).
    eg
    /cache/autoptimize/js/autoptimize_xxx.js refuses to compress.

    File Headers state: ‘accept-encoding:gzip, deflate, sdch, br’
    Mine type is application/javascript, which is one of the types set to compress.

    Just wondering what your problem was an how you fixed it, it may help me

    • This reply was modified 5 years, 3 months ago by darrenjames. Reason: added more information

    I think I just solved my own problem. Unchecking ‘Save aggregated script/css as static files?’ fixed it 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Final JS file does not want to pre-gzip.’ is closed to new replies.