Leverage Browser Caching in Google page Insights

A1WEBSITEPRO QuestionsCategory: WordPressLeverage Browser Caching in Google page Insights
Maximus Mccullough Staff asked 7 years ago

I have been working forever on how to solve the Leverage Browser Caching in the Google Page Speed Insights. I am at a loss at what to do. I have installed wp-defer JavaScript plugin. I installed Autopitimize plugin and the above the fold plugin. Do you have any suggestions?

Leverage Browser Caching in Google page Insights was last modified: April 14th, 2017 by Maximus Mccullough
1 Answers
Best Answer
Maximus Mccullough Staff answered 7 years ago

Found the answer. Put this in the .htaccess file. Problem Solved!

<FilesMatch "\.(jpg|jpeg|png|gif|swf|js)$">
    Header set Cache-Control "max-age=604800, public"
</FilesMatch>

Answer for Leverage Browser Caching in Google page Insights was last modified: April 14th, 2017 by Maximus Mccullough