Sumit Juyal
asked on
Chrome Not Caching JS/CSS
I am working on a performance improvement of our website (https://now.tirehub.com) . and this thing caught my attention when I was looking at Dynatrace “Real User Monitoring” . when I looked at waterfall chart of page load , I saw all the resources are getting loaded irrespective of browser Cache.
I was pretty sure something is wrong with our cache headers (feel free to click the link to see headers), but there was nothing wrong there . Then as usual I opened developer tool to see if browser is caching JS /CSS and figured that no matter what page I go to – JS and CSS are not getting cached by Chrome , although images and font files we cached.
Then I installed firefox and opened developer tool there. It indeed was caching JS / CSS as expected. Then I thought that it could be chrome developer tool , but there are thousand of request recorded by Dynatrace “Real User Monitoring” showing the same behavior.
I am definitely missing something but don’t know what.
Many Thanks in Advance
Sumit Juyal
I was pretty sure something is wrong with our cache headers (feel free to click the link to see headers), but there was nothing wrong there . Then as usual I opened developer tool to see if browser is caching JS /CSS and figured that no matter what page I go to – JS and CSS are not getting cached by Chrome , although images and font files we cached.
Then I installed firefox and opened developer tool there. It indeed was caching JS / CSS as expected. Then I thought that it could be chrome developer tool , but there are thousand of request recorded by Dynatrace “Real User Monitoring” showing the same behavior.
I am definitely missing something but don’t know what.
Many Thanks in Advance
Sumit Juyal
This question needs an answer!
Become an EE member today
7 DAY FREE TRIALMembers can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Likely good for you to check WPT first. The data WPT produces seems far easier, to me, for most people to understand at a glance.