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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -