- Print
- DarkLight
- PDF
What to do if some pages are not getting cached
Check if the URL is included in the cache manager table
Under the Cache Manager menu, Paste the URL you suspect is missing from the cache into the search bar above the Cache Manager table.
The URL should be present in the table if it is cached. If not, then the URL is not cached.
What is the status code of the page?
Prerender will only cache pages with 200 OK status, so checking what HTTP status code is returned by the page should be the first step while troubleshooting this issue.
Copy the URL into your browser's address bar not being cached by Prerender, then press F12 on your keyboard or right-click and select the inspect option. Then, select the Network tab at the top of the developer tools window. Then, load the page by pressing enter while your cursor is in the address bar.
Now, the first element that loads on the page should show you what the HTTP status is.
Prerender will only cache the page if it has a 200 response. Other non-200 pages will be rendered and served to bots but not cached.
It is also recommended to check the <head> part of the page if there is a <meta name="prerender-status-code" content="xxx"> tag added to the page.
This meta tag overwrites the original HTTP status of the page for Prerender so Prerender will handle the page according to the status code added in the tag.
Is the URL included in the Ignored URL list?
Under the Cache Manager menu, click on the Ignored URLs menu at the top left and check the URLs. Please note that this menu point accepts regular expressions as well.
So, partial matches might also be something to look for.
Is the Prerender integration working on other pages?
Test if the Prerender integration works on the other pages based on this guide: https://docs.prerender.io/docs/how-to-test-your-site-after-you-have-successfully-validated-your-prerender-integration
If you don't see the Prerender headers / IDs, then the Integration is not working, which might be why the other URL is not cached.
If the integration is not working and you need help with it please get in touch with our support team at support@prerender.io.
Related articles:
- How to test your site after you have successfully validated your Prerender integration