Leverage browser caching for 3rd party JS

后端 未结 3 736
再見小時候
再見小時候 2020-11-27 04:28

I have set Expiry on my httpd.conf

ExpiresActive On
ExpiresDefault \"access plus 1 month\"
ExpiresByType image/gif \"access plus 1 month\"
ExpiresByType imag         


        
3条回答
  •  爱一瞬间的悲伤
    2020-11-27 05:08

    If you are on WordPress, you can use "Cache External Scripts" plugin for this. With minimal plugin code tweaking, you can add support for the other 3rd party javascript files in addition to the Google ones

提交回复
热议问题