Skip to main content

Cache Warmup (WordPress)

Updated over a week ago

Cache Warmup is a NitroPack service that helps keep your site optimized at all times. It schedules new optimizations for pages after they get purged or invalidated. It also runs an initial warmup of all pages linked on your homepage when you enable the feature. By integrating your sitemap with the Cache Warmup feature, you can ensure that all important pages are scheduled for optimization, not just those linked from the homepage.

Sitemaps are vital for the Cache Warmup process because they guide the feature to identify which pages require automatic optimization. Without a properly configured sitemap, optimization is limited to pages linked on the homepage or organic visits.

The purge or invalidate can happen manually (after you manually purge/invalidate cached pages), or automatically. In all cases, Cache Warmup schedules new optimizations for the cleaned pages.

Steps to Add and Verify a Sitemap in NitroPack

  1. Add Sitemap to Cache Warmup: Navigate to the Cache Warmup settings in your NitroPack dashboard and add your sitemap URL to schedule optimization for all included pages.

  2. Verify Sitemap Accessibility: Confirm that your sitemap URL is functional and accessible. Broken links can interrupt the optimization process.

It works remotely by simulating user visits for each scheduled page. It simulates both desktop and mobile visits and if there are variation cookies with predefined values it also simulates all possible requests with these cookies and values.

The Settings Panel

Here is what it looks like while Cache Warmup is working:

Verifying Optimized Pages

To check if NitroPack is serving optimized pages:

  1. Review HTTP headers of your website pages.

  2. Refer to NitroPack’s guide on checking headers for optimization signs: How to Check Headers.

Use the toggle button on the right to enable or disable Cache Warmup for your site. For further guidance, explore NitroPack’s guide on Cache Warmup here: Cache Warmup Guide.

Benefits of Using Cache Warmup

  • Improved Visitor Experience: Optimized pages load faster for visitors.

  • Automated Efficiency: Ensures your most critical pages remain optimized without manual effort.

Did this answer your question?