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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -