Upon initially accessing my site after clearing the cache (a jsp page from a spring app), I noticed that the images and styles were not being applied. However, upon refreshing the page (ctrl-r), everything loaded perfectly.
In Firefox's console output, I received a 404 Not Found error for the images and non-cdn JavaScript files:
HTTP/1.1 404 Not Found
The missing resources are all the JavaScript, CSS, and images hosted on my server - although the jQuery downloads are functioning correctly.
I consistently encounter this issue when using Firefox: clear the cache, visit the site, it fails to load properly, then reload and it works flawlessly. This behavior does not occur in Chrome and Internet Explorer, as they seem to be functioning correctly.
To further explain, the problem lies in loading JavaScript and images stored on my server. Despite having correct references, they fail to load initially. However, on refresh, everything loads without any issues - indicating that the relevant JPEGs and JS files have been cached locally.