cweider / require-kernel

A reference implementation of a CommonJS module loader.
6 stars 2 forks source link

Kernel doesn't play well with Application cache. #2

Open JohnMcLear opened 11 years ago

JohnMcLear commented 11 years ago

https://developer.mozilla.org/en-US/docs/HTML/Using_the_application_cache

"Never access cached files by using traditional GET parameters (like other-cached-page.html?parameterName=value). This will make the browser bypass the cache and attempt to get it from network. To link to cached resources that have parameters parsed in JavaScript use parameters in the hash part of the link, such as other-cached-page.html#whatever?parameterName=value."

require kernel creates urls such as

/javascripts/lib/ep_etherpad-lite/static/js/pad.js?callback=require.define