• Resolved jbd7

    (@jbd7)


    Hi Dipak,

    Thanks for your plugin that satisfies the Google PageSpeed without any effort.

    For my site, I still had the “leverage cache” suggestion, but this time only JS files remaining in the list. And it appeared that JS files are called “application/javascript” when I check in Chrome.

    I figured out that I could complete your plugin .htaccess entry with

    #your-entry
    ExpiresByType text/x-javascript “access 2 week”
    #my-addition
    ExpiresByType application/x-javascript “access plus 1 month”
    ExpiresByType text/javascript “access plus 1 month”
    ExpiresByType application/javascript “access plus 1 month”

    That gave me another 10 points boost to the PageSpeed test. Let me know if I’m doing right, if so that becomes a suggestion for your next release.

    By the way, do you know if it’s worth addressing the minification of css/js/html (which is not done by your plugin) when the content is already gzip’ed (which your plugin does)?

    Thanks,

    jb

    https://ww.wp.xz.cn/plugins/wp-performance-score-booster/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘JS content type’ is closed to new replies.