• neocortex

    (@neocortex)


    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.

    • This topic was modified 5 years ago by neocortex.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author SuperPWA

    (@superpwa)

    We inspected your site and we did not encounter any navigation issues. Can you please check it once by clearing the cache and let us know back?

    Reference video: https://drive.google.com/file/d/1sMcNLJaY7BdajGPWtEaX82Ic6suWdm8i/view?usp=sharing

    Thread Starter neocortex

    (@neocortex)

    As a friend, the site is down because of this plugin, and the hostinger technicians were unable to resolve it, they just confirmed that the problem is with this plugin.

    I will have to format my installation, and upload everything again, only now without this plugin, obviously.

    Thread Starter neocortex

    (@neocortex)

    Refresh the page and see if it loads.

    Plugin Author SuperPWA

    (@superpwa)

    As we can check the site, it is not loading. it shows “This site can’t be reached”, PWA will start work when the page is loaded.
    but in this case the site not loading (No response from the server). Might be there is an error https://prnt.sc/137ngyz
    please solve this, so we can also verify caching system issue on your server

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Site does not load Chrome’ is closed to new replies.