SEO | Page Speed Optimization - How to do Leverage browser caching without using Paid Tool

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hi there everyone,

My site's Page speed score is very bad, Mobile device 45/100 & Desktop 54/100.

Google says I must Set an expiry date or a maximum age in the HTTP headers.

Please let me know how do I do that without using any paid plugin.

Link: https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.logbooks.com.au%2F&tab=mobile


Thank You :)
6 years ago
Hi,

read this article

https://docs.microsoft.com/en-us/iis/configuration/system.webserver/httpprotocol/


set "Expiry Web content" 7/8 days as you like

this should be done for each folder of solution with static content, for example "Nop.Web\Content\Images\flags"


after this you will find web.config file in folder, like this

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <staticContent>
            <clientCache cacheControlMode="UseMaxAge" cacheControlMaxAge="7.00:00:00" />
        </staticContent>
    </system.webServer>
</configuration>
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.