[Zope3-Users] My Javascript resources aren't loading in Firefox

Dylan Reinhardt dylanreinhardt at gmail.com
Wed Jun 29 14:35:40 EDT 2005


On 6/27/05, Jeff Shell <eucci.group at gmail.com> wrote:
> And that's it. The CSS loads, and the 'favicon' is cached. If I clear
> the cache, I see the 'favicon' resource get loaded, but not the
> Javascript.


Firefox seems to cache referenced files pretty aggressively and I've
seen reports of problems clearing the cache completely.

Two workarounds you could try are
 1. Manually refresh the js each time you change it.
 2. Load the *contents* of the javascript file into the script tag, like so:
     <script type="text/javacript"
                tal:content="context/@@myscript.js"/>

HTH,

Dylan


More information about the Zope3-users mailing list