On page load, I'm loading an html page through jquery ajax. This html page contains is a "view" and is rendered in the "main contents" div of the site layout. sample view html that is loaded:
<div>hello world</div>
<script src="/javascript.js" type="text/javascript"></script>
The problem is that Firefox loads the javascript.js by adding a unique querystring parameter to it...preventing it from being cached.
Firebug shows: GET http://nodejs/javascript.js?=_1324005635768
This only happens for the javascript loaded dynamically in the view. The javascripts in the site layout load and cache just fine. Firebug shows that jquery ajax returns the normal view without the querystring parameter therefore it's firefox that's adding it.
How do I fix this?
cachedoption correctly for the ajax call?