When using Cache-Control and Expires header so that a page won't expire in 10 years:
Cache-Control: max-age=315360000
Expires: Sun, 19 Jul 2020 18:06:32 GMT
will using line 1 have identical result as line 2?
<link href="/public/doc.css?v=128" ... >
<link href="/public/doc_v128.css" ... >
I was thinking maybe some browser will take the ?v=128
as a somewhat more dynamic content and reload it before the 10 year expiration?
Otherwise, both files will expire in 10 years and when there is changes to the CSS, the 128
can be updated to 129 and it will be loaded for sure and have a brand new 10 year expiration date?
(the same goes for javascript .js
files)