Exclude URLs in Warmup table

You are here:
Estimated reading time: 1 min

Swift’s warmup table is a unique feature. Unlike other cache plugins, Swift shows exactly which URLs are found, (pre)build and cached.

Swift is using more aggressive optimization/preload functions than any other plugin on the market. That makes it better and faster, but sometimes it means that built for crawling links is a bit too aggressive. Again, remember that other cache plugins also catch up those URLs in the background, but you will never know.

When Swift crawled all URLs /Pages, some URLs you might want to exclude from the warmup table. With Swift, you are in full control of your caching engine. On shared hosting or high resource consuming websites, we recommend that you remove these URLs manually once.

Read more about how to exclude URLs in warmup table here.

Best practice to keep warmup table clean and effiecient is to disable Cache 404 pages in Settings->Caching->General.

If you notice wp-json related URLs, you can exclude them with Exclude REST URLs in
Settings→>Caching→Exceptions and Prebuild REST URLs in Settings→>Caching→>Warmup.

And last, in Settings->Caching->Exceptions: Exclude Post Types you might want to select post types which shouldn’t be cached.
After this, the warmup table/prebuild feature, should work fine.

In future version of Swift we include also some improvements regarding to _autosave and revision posts/pages, which for now can be excluded in Settings->Caching->Exceptions: Exclude URLs with /revision and /autosave

Pages can excluded best in Settings->Caching->ExceptionsExclude Pages and select pages which shouldn’t be cached.

If you notice that your sitemaps get cached and you don`t want those URLs cached, you can exclude them simply with .xml in
in Settings->Caching->Exceptions: Exclude URLs.

 

Was this article helpful?
Dislike 0 0 of 0 found this article helpful.