SlexAxton/yepnope.js — Issue #76: Infinite Resource Loading in Firefox 8.0
Author: SimpleAsCouldBe
Created: 2011-11-10 23:21:32+00:00
State: open

I'm getting what looks to be infinite file requests in firefox over localhost. I'm probably doing something wrong, but I tried two methods of yepnope usage, and set my cache control headers.

Screenshot:
http://i.imgur.com/1uzFV.png

JS:
yepnope({
load: 'components/iSirona.slidingTabBar.js'
, complete: function() {
console.log('this: ' + this);
new iSirona.slidingTabBar();
}
});//yepnope

Headers:

# turn on the module for this directory
ExpiresActive on

# cache common graphics for 3 days
ExpiresByType image/jpg "access plus 3 days"
ExpiresByType image/gif "access plus 3 days"
ExpiresByType image/jpeg "access plus 3 days"
ExpiresByType image/png "access plus 3 days"

# cache CSS for 24 hours
ExpiresByType text/css "access plus 24 hours"
ExpiresByType text/js "access plus 24 hours"

# set the default to 24 hours
ExpiresDefault "access plus 24 hours"