Console Log: Current request is excluded from cache

Are you seeing the following message in your browser dev tools console:

SuperPWA: Current request is excluded from cache.

If you are wondering what it means, here is the answer.

Any page that you see on your web browser is made of multiple requests.

There is the HTML of the page, the CSS/JS files, images, AJAX requests and so on.

By default SuperPWA tries to cache all of them for offline usage. Except for the requests from the excluded URLs.

The default excluded URLs are the /wp-admin/, /wp-login/ and WordPress preview pages. You do not want the WordPress admin to be cached.

But I see this console log while browsing the website!

This exclusion is not based on the page URL, but based on the request URL.

For instance, front end of your website could make an AJAX request to wp-admin/admin-ajax.php and since the URL contains wp-admin, this request will not be cached.

This does not mean that the entire page will not be available offline. All the other requests from the page will be cached and ready for use offline.

TLDR: This is the expected behavior of SuperPWA and there is nothing to be concerned about.

Leave a Reply

Your email address will not be published. Please enter all fields.

Matthew Connors says:

Hey guys , I installed this and have uninstalled an deleted it, but have been left with the console errors below. Can you please advise how to fix.
JQMIGRATE: Migrate is installed, version 1.4.1
A bad HTTP response code (404) was received when fetching the script.
3superpwa-sw.js:1 SuperPWA: Current request is excluded from cache.
A bad HTTP response code (404) was received when fetching the script.

Prior to the install , there were no errors.

Team SuperPWA says:

Hi Matthew Connors,

Will you please contact our technical team from here- https://superpwa.com/contact/ they will help you as soon as possible.

Trí Hoàng says:

I was remove Super PWA from my site, but i still see this mess “SuperPWA: Current request is excluded from cache”. How i can remove completely SuperPWA?

Team SuperPWA says:

Hi Tri Hoang,

Will you please contact our technical team from here- https://superpwa.com/contact/ they will help you as soon as possible.

Luqman fikry says:

the problem that i facing is that the registration form in our page cannot be clicked and the button cannot function when i change to mobile view. I think this error come from superwpa because i saw it from inspect>console. do you have any idea how to fix it?

Team SuperPWA says:

Hi Luqman fikry,

Will you please contact our technical team from here- https://superpwa.com/contact/ they will help you as soon as possible.

Miquel says:

So, if I load content by AJAX, it is cached?
There is a way to cache content load inside the site which is not in the initial loaded html doc?

Team SuperPWA says:

Hi Miquel,

Yes if those requests are GET requests then it’s possible and for more details please contact our technical team from here- https://superpwa.com/contact/ they will help you as soon as possible.

Stay Updated

Learn more about Progressive Web Apps
and get latest updates about SuperPWA

we'll share our root password before we share your email with anyone else.