google chrome - How every browser handle caching after query string has been removed in file location -
please consider situation:
first: file static location (without query string) loaded in browser example:
<link rel="stylesheet" type="text/css" media="all" href="css/style.css">
second: change content of file , address query string following example:
<link rel="stylesheet" type="text/css" media="all" href="css/style.css?ver=2">
if address file without query string again (same first example), how each browser (like: firefox, chrome, ie, ...) load file?
- it's uses unmodified cache (first example)
- it's uses modified cache (second example)
- it's try reload file
please answer certainty.
the goal of question is:
are browsers handling queried files new file, updated file or same original?
Comments
Post a Comment