jquery - How do javascript frameworks treat 304 not-modified? -


i'm curious how works in jquery, in general. when js resource fetched, , server indicates 304 not-modified, framework:

  • load js file cache , execute it
  • not execute it

i'm trying support polling solution, , if can jquery nothing upon recieving 304 work done, otherwise, have write resource in safely-reloadable (idempotent) way, harder (imagine adding status div page, wouldn't want again if status hasn't changed)

it'll load js file cache , execute, either way, execute each time. sorry, it's harder way you'll need :).


Comments

Popular posts from this blog

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -