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?

  1. it's uses unmodified cache (first example)
  2. it's uses modified cache (second example)
  3. 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

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -

jdbc - Not able to establish database connection in eclipse -