Answer the question
In order to leave comments, you need to log in
Cache Manifest Node. Error in console (error event) offline?
Good evening!
Set up an offline web application.
When online, the files get into the cache and this is written in the console (how to get rid of these lines in the console?)
We go offline, the application works, but an error is written to the console:
Application Cache Error event: Manifest fetch failed (6)
app.get('/cache.mf', function(q, s) {
s.header('content-type', 'text/cache-manifest');
return s.end([
'CACHE MANIFEST',
'CACHE:',
'/', 'styles/preloader.css', 'styles/all.css', 'scripts/all.js', 'images/bg.png', 'fonts/icomoon.eot', 'fonts/icomoon.svg', 'fonts/icomoon.ttf', 'fonts/icomoon.woff',
'NETWORK:',
'*',
'FALLBACK:',
'images/store/ images/offline.jpg'].join('\n'));
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question