Closed kokujin closed 10 years ago
Hey @kokujin,
curl.js cannot cache between page refreshes, so this is probably just another case of Chrome's buggy caching mechanism. Try restarting Chrome.
Have you considered using swig in the browser and loading the templates with the text! plugin?
Pre-compiling them is also an option, of course, but I was just wondering if you've considered using an AMD bundling tool to compile them, instead.
-- John
@kokujin take a look at https://github.com/cujojs/curl/issues/159#issuecomment-40822281 :)
Thanks!
I am loading AMD define wrapped Swig (http://paularmstrong.github.io/swig/) templates in my application. Changes in my templates are reflected in Firefox but Chromes displays the templates unchanged and new changes are shown only when I manually clear the browser cache . The author of Swig suggested that its probably due to curl.js caching methods. Could this be?
A more elaborate explanation with code snippets is here:
https://github.com/paularmstrong/swig/issues/402
Thanks