简体   繁体   中英

Why PageSpeed Tool complaints about browser caching even though it was configured

I am confused as why the google page speed tool says i need to enable browser caching even though i had my static content cache configured in the web. config file.

this is how my config looks like:

and the response header is set correctly: my chrome network screenshot

but google still complaints about it: google's analysis report

Thanks a lot

PageSpeed probably recommends you to cache static resources for longer time period.

Relevant excerpt from PageSpeed documentation :

We recommend a minimum cache time of one week and preferably up to one year for static assets, or assets that change infrequently. If you need precise control over when resources are invalidated we recommend using a URL fingerprinting or versioning technique - see invalidating and updating cached responses link above.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM