Site does not load Chrome
-
Guys, I have a problem because my site is not loading in google chrome.
Accessing it for the first time, it loads, but try to navigate through the site as you will see that it stops loading the pages.
https://vamosorar.afamiliareal.com/janeiro-1/
now try navegate
https://vamosorar.afamiliareal.com/janeiro-2/Apparently it is a bug in the plugin’s cache system, because in Microsoft Edge it is working normally.
This is the code snippet that I extracted from the Edge console.
Remember, the Edge is running the site normally.
// Revving strategy
if ( e.request.mode === ‘navigate’ && navigator.onLine ) {
e.respondWith(
fetch(e.request).then(function(response) {
return caches.open(cacheName).then(function(cache) {
cache.put(e.request, response.clone());
return response;
});
})
);
return;
}——-
This is the code snippet that I extracted from the Chrome console.
// Revving strategy
if ( e.request.mode === ‘navigate’ && navigator.onLine ) {
e.respondWith(
caches.open(cacheName)
.then(function(cache) {
cache.match(e.request)
.then( function(cacheResponse) {
if(cacheResponse)
return cacheResponse
else
return fetch(e.request)
.then(function(networkResponse) {
cache.put(e.request, networkResponse.clone())
return networkResponse
})
})
}).catch(function(){
return fetch(e.request).then(function(response) {
return caches.open(cacheName).then(function(cache) {
cache.put(e.request, response.clone());
return response;
});
})
})
);
return;
}———–
The FetchEvent for https://vamosorar.afamiliareal.com/janeiro-1
resulted in a network error response: an object that was not a Response was passed to respondWith().
Promise.then (async)
(anonymous) @ superpwa-sw.js:74——
Could you please check? Because my site is down when using chrome.The page I need help with: [log in to see the link]
- The topic ‘Site does not load Chrome’ is closed to new replies.