Refresh once more, and the cache files should begin to appear, inside their own slug-specific folders.Įxample: /wp-content/cache/wp-rocket//product/index-https.html.Refresh the folder, it should be emptied.Click on Clear cache and preload from the admin bar.Go to the cache folder, at /wp-content/cache/wp-rocket//.Access your WordPress installation path via (S)FTP or File Manager.In order to see if the Preload is working, please follow these steps: When enabled, the Preload will create the cache files. The SimpleXML PHP extension needs to be enabled on your server.WP-Cron or a real server-side cron job must be able to run, the latter is strongly recommended for the Preload to run properly.Preload cannot reach sites that are blocked by security measures or htaccess/ htpasswd authorization. Your Homepage or sitemap must be publicly accessible.The Preload relies on the following basic requirements: Pages purged when the Cache Lifespan expires.Including any other content related to it (i.e.Published or updated URLs, such as posts/pages/custom post types.Partial cache preloading takes effect when WP Rocket automatically clears the cache for the following URLs: Whenever the rocket_clean_domain function is called. When you click the Clear and preload cache button in the admin toolbar, or on the WP Rocket dashboard.When you save changes to WP Rocket settings that affect the front-end (because the cache is cleared).URLs that aren’t included in a sitemap and that received a visitĪnd, the preloading will run in the following scenarios:.URLs found on the homepage - In case WordPress default sitemap isn't available.URLs found on WordPress default sitemap - In case no third-party sitemap is detected.URLs in sitemaps generated by plugins with automatic compatibility.In this sense, WP Rocket can trigger full or partial preload after the cache is cleared, as follows: Full preloadįull cache preloading will run on the following URLs: This means the pages will be preloaded every time their cache was cleared.Īt the same time, any URL that already has a cache file - its cache wasn't cleared - will be skipped over, making the process optimal. The Preload is an ongoing process, attached to the cache clearing. After the initial preload it will continue to cache all your pages whenever they are purged. When you first enable Preload, you'll see the following admin notice: WP Rocket: The preload service is now active. Additionally, if the Separate cache files for mobile devices feature is enabled, the mobile version of the homepage will be preloaded as well. By default, despite the status of the Preload feature, WP Rocket will preload the homepage automatically upon plugin activation and after saving changes.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |