
0 votes, 0 avg.rating




Purging the LiteSpeed cache empties every page at once. LiteSpeed’s own crawler will rebuild it, but only when its next cycle comes around, commonly hours later. Until then every visitor pays the full render cost, and the first visitor to each page pays it personally. This plugin closes that window. It listens for LiteSpeed’s purge events and rebuilds the cache itself, a batch at a time, starting with the pages most likely to be asked for. On its own it only ever requests pages. It alters no response and adds nothing to the front end. It changes no LiteSpeed setting by itself either; the Status tab offers one button that does, and it names the two settings it will write before you press it. What it does Starts a warm run after a full purge, re-warms a page shortly after it is edited, and warms a page when it is published. Warms the top of the queue immediately, inside the request that purged the cache, so the front page is not cold while the queue waits for its first tick. Works through the queue once a minute in parallel batches, so a few hundred addresses take minutes rather than hours. Puts back everything a post purge took down with it, not just the post. LiteSpeed also drops the front page, the blog page, the post’s terms, the neighbouring posts and the author and date archives, depending on its own settings; the plugin reads those settings and restores exactly that set. Orders the queue by real traffic when a source can be read, so the pages people actually open come back first instead of whatever was edited last. Warms every spelling of a non-ASCII address, which is the difference between a warm page and a cold one for anyone arriving through a shared link. Requests page two and beyond of archives only where those pages exist, by counting the posts behind each archive rather than guessing a depth. Warms the mobile variant when a separate mobile cache is in use, and leaves it alone when there is not one. Announces the image formats a current browser accepts on every request, so on a site where LiteSpeed serves WebP or AVIF the entry it fills is the one current browsers read. The copy for browsers without those formats can be warmed too. Reads what the LiteSpeed crawler is up against: whether the host allows it at all, whether it can send its requests, what it found on its last pass, and whether its load limit, worked out the way LiteSpeed works it out, is stopping it before it starts. Suggests a limit that fits this server and sets it with one button, after naming the setting and both values. Sends a headers-only request first, so a page that is still cached is recognised and skipped instead of downloaded again. Learns which pages refuse caching, such as a booking form or a login page, and stops paying to render them on every run. Backs off when the machine is already busy rather than competing with real visitors for PHP workers, and on hosts that hide their processor count it backs off on load surges instead of guessing the size of the machine. Re-warms the site on a schedule before cached pages expire, at an interval it can work out from the cache lifetime itself. Two purge guards, off until you switch them on, for the full purges that keep sending warming back to the start: one stops a publish or an update from emptying the whole cache, the other replaces the full purge LiteSpeed Cache makes on every category or tag save with a purge of that archive alone. Neither changes a LiteSpeed Cache setting. Their state is shown in the header of every tab. Cross-checks your sitemap against the warm queue, so a post type nobody remembered to select shows up as a difference on a report rather than as a page that is always slow. Addresses that are not plain ASCII WordPress writes a non-ASCII permalink with lowercase percent-encoding, and every internal link, every sitemap entry and every warm request uses that spelling. A browser handed the same address in a chat message, an email or the address bar encodes it with uppercase letters instead, as the standard recommends, and search engine crawlers normalise to uppercase as well. Both spellings decode to the same characters and the site answers both with the same page. LiteSpeed, though, keys its cache on the exact address it was asked for, so it holds a separate entry for each. Warming only the spelling WordPress links to leaves the other one cold, and a page warmed a minute ago is still a full render for the visitor who arrived through a shared link. This plugin warms each spelling. It does not redirect between them: a cache warmer has no business changing what the site serves, a redirect cannot be withdrawn once browsers have remembered it, and the page already carries a canonical link element telling search engines which address counts. On a site whose permalinks are plain ASCII there is only one spelling, and this costs nothing. Real server cron WordPress has no clock of its own; scheduled work is checked on page loads. On a quiet site a purge at three in the morning leaves every page cold until the first visitor arrives and pays for it. The Cron tab reports whether anything is actually firing, can switch the site to a real server cron safely, and gives the exact cron line for this server to paste into cPanel or crontab. The switch is handled carefully. wp-config.php is copied first to a protected folder in uploads, under a random name, readable only by the owner, and with a first line that stops execution so a web request for it returns nothing. The edited file is then checked for a parse error, the original is restored if anything is wrong, and the copy is deleted either way. What it does not do It does not replace the LiteSpeed crawler or alter how pages are cached or served. It changes nothing in LiteSpeed Cache unless you press the crawler button on the Status tab, which sets the crawler sitemap and turns the crawler on, says so beforehand, and asks LiteSpeed to make both changes through its own interface rather than writing its settings underneath it. Without LiteSpeed Cache active there is no page cache to rebuild, and the plugin says so on its status screen. Where its requests go Every request it makes is an ordinary front-end request to this site, at addresses WordPress itself generates. It contacts no external service and sends no data anywhere. Traffic ordering, when enabled, reads an access log whose path you enter yourself, or a WP Statistics table already present on the site. Nothing is guessed and nothing outside those two is read. Translations Every string is translatable and the admin screen follows the RTL styles WordPress already provides. A complete Persian (fa_IR) translation has been contributed to translate.wordpress.org, so WordPress delivers it as a language pack; the .pot file is included for anyone starting another locale. Disclaimer This is an independent helper plugin. It is not affiliated with, endorsed by, or sponsored by LiteSpeed Technologies Inc. “LiteSpeed” is used only to describe the software this plugin assists.