Reputation: 3543
I have a script tag like this:
<script src="/dashboard/js/script.js?version=1"></script>
But for some reason it never cache, it always being downloaded !
I thought it should download first and after this, as long as it's the version=1 it should be cached , right ?
What I'm missing ? How can I cache version 1 script to the browser cache ?
Upvotes: 0
Views: 462
Reputation: 135
are you checking the status code or also the extended information?
On following screenshots it looks like it is cached but still returns response 200
Check the timing waterfall. It will provide additional info.
Upvotes: 1