I'm having some major trouble with AppCache.
I've got a single page application (with real URLs using using Page.js and loading HTML from the server on page load, (dispatch: false)
It's running on Bode.js, in particular it's a Sails.js app.
I've got a manifest file in the HTML tag of the layout. The manifest file has been tested repeatedly and everything checks out. It works flawlessly in Chrome. Even in Safari, it shows up in the inspector correctly and has a list of the assets listed in the file. So far so good.
However, when offline, Safari fails to load anything but the HTML document itself. So I'm basically seeing just an unstyled list of headers. The console shows a bunch of 404s. So even though it's reading the manifest file correctly, it's not caching anything.
Firefox doesn't even detect the manifest file and just seems to working like it didn't exist.
Safari on iOS7 is behaving like Firefox and not showing anything, when offline.
Anyone with any bright ideas why this may be happening?
Related
Would like to share this issue I recently debugged.
I was getting this error in Chrome console for a particular page.
Debugged the script - No error, actually the script is working correctly in some other modules and components.
"officeUtilities" script is not loading due to this error.
Although I couldn't fix it in the active session of browser, following worked for me.
- Opening page in Chrome incognito mode and other browsers (Firefox, Edge, IE).
I think it is caching issue. I deleted all browser cached images and files , but that didn't work. I didn't tried to delete all history, that will end up logging out of multiple sites.
Since I found a alternative way to test the page, I'm Okay with it.
I'm developing a website locally and pages are properly displayed in Chrome and Safari. Unfortunately, in Firefox, the HTML is rendered but without the styles and scripts mentioned between the head tags.
Several elements to know:
I use a Mac with El Capitan system.
I use MAMP as a local server with the ports 80 and 3306.
I have defined symbol links in a .htaccess file to have clean URLs.
Once again, everything is working well in Chrome and Safari (no console error). I have this issue on Firefox only.
Does someone have already encountered this issue and know how to solve it? Thank you.
I'm running an application on jBoss.
In one page there are many js files. Chrome and Firefox see the changes on all js file when I reload the page, except one.
I open Chrome (firefox) in unknown mode, disabled the cache of Chrome console (Firefox console), reload the page, clean and restart the application server and rebuild the application.
Nothing.
I don't know what to do.
When linking the scripts on you pages you can put something after the file like
<script language="JavaScript" src="<file_name.js>?yyyymmdd"></script>.
This "yyyymmdd" can be the current Date/datetime (never caches) or the last modification date of the js file you are including (it cancel the cache only when you modify the script).
That is the approach we use.
In chrome, go to developer tools(press F12), go to Network panel, there check 'Disable cache' option and load your page..
I am currently working on a website that includes a musicplayer made with SoundJS.
I, myself, am using Google Chrome to test and debug my website, and it worked like a charm, but when I recently tested it in FireFox, I noticed this strange error.
When I hit the play button and the sound is being registered I get this error:
The buffer passed to decodeAudioData contains an unknown content type
The code I use in my javascript file to create the soundInstance:
'response' is a string containing the location of the .mp3 file (this all works perfectly in Chrome).
createjs.Sound.registerSound('uploads/songs/'+response,'song');
When I test this same piece of code with an 'ogg' file it works perfectly in FireFox.
I also heard from some people that it doesn't work in Safari too, but unfortunatly I am a windows user.
If you want to test it for yourself:
www.playmesome.be . Just hit the play button and it will keep on loading infinitely because of this error.
Thanks for reading!
there is a known issue with Firefox on windows that does not load all mp3 files properly, and therefore it is recommended that you load another supported file type first (such as ogg).
Hope that helps.
In the company I work for, there are three servers; Dev, QA and Prod.
The Dev site I am working on is shown perfectly in all three browsers (IE 11, FF 29, Chrome 34). The QA site is not.
It loads in IE and Chrome, but in FF I get this error:
"Page Unavailable - The page you requested is temporarily unavailable"
Which is the default error for my companys website. I tried re-installing FF and clearing the cache, but nothing seems to work.
In the html of the index page, I am using the following meta tag:
<meta http-equiv="x-ua-compatible" content="IE=Edge">
to load the default content for IE. I have created another page with no meta tag, no javascript, and it still does not load in FF.
I tried to change the settings on FF using this article, but it did not work.
A co-worker is also having the same issue but in her case, QA is not loading in IE but works perfectly in FF and Chrome.
Has anybody had the same issue before? Know any fix? Do you think it has to do with the browser itself? Or with the markup?
Thank you for your time.
There is nothing wrong with FF
This is something with server configuration (probably it serves pages differently depending on user agent, or you are getting pages from different servers because of different network/proxy settings in different browsers)
Verify Firefox's proxy settings. I experienced on some systems that some versions of firefox would autodetect incorrect proxy settings and as a result would fail to load any page. When I configured it to not use a proxy it then worked as expected.