SpinupWP
This plugin ensures that the SpinupWP page cache is cleared when your site’s content changes. Not using SpinupWP yet? Sign up here. SpinupWP is a modern server control panel that’s here to help you implement best practices for every server you spin up. Designed for WordPress. This companion plugin should be installed on sites created using SpinupWP to allow the page cache to be cleared when your site’s content changes. Not using SpinupWP yet? Sign up here. Any Provider We support DigitalOcean, Linode, AWS, and any other provider. If your server has an IP address, you can connect SpinupWP. It does need to be a fresh install of Ubuntu though. Latest & Greatest Software SpinupWP will install the latest stable versions of Nginx, PHP, MySQL/MariaDB, and Redis from the standard apt-get repos. No who-knows-what-they-did custom builds of packages. Disconnect from SpinupWP in the future and you can still keep your packages up-to-date with apt-get upgrade. Automatic Security Updates SpinupWP will configure your server to install security updates as soon as they are available to reduce the likelihood of a software vulnerability putting your server at risk. Free SSL/TLS Certificates Serving your site over HTTPS is essential these days, not only for security, but to take advantage of the performance improvements of HTTP/2 as well. When you add a site to SpinupWP, a free Let’s Encrypt SSL/TLS certificate will be acquired, installed, and configured for your site. And SpinupWP will handle certificate renewals as well, so you hardly need to think about certificates. Cache All the Things One of the keys to a great performing WordPress site is caching. All sites are set up with Redis object caching to greatly reduce database requests. And with the check of a box you can enable full-page caching to serve pages lightning fast without even hitting PHP. Git Push-to-Deploy Developers! Developers! Developers! Add a git repository to your SpinupWP site and simply push to master to deploy your code. GitHub, Bitbucket, or a custom git repo will work. You can also configure a build script to run some tasks on the server after deployment is complete. Error Logs WordPress doesn’t enable error logging by default. Probably because the log is saved to a publicly accessible directory and can quickly balloon to take up a lot of hard drive space. SpinupWP enables error logs by default but stores them in a safe place and makes sure they’re rotated regularly like other server logs. Security Security Security Each server provisioned by SpinupWP is security-hardened from the word go. SSH login is disabled for the root user (you login with your user and use sudo instead). The firewall only allows connections to Nginx and SSH and failed attempts are monitored and blocked when the reach a threshold. Nginx is configured to defend against XSS, clickjacking, MIME sniffing, and other attacks. Software security updates are installed automatically. Scheduled Posts Published on Schedule For every site you add via SpinupWP, a server-side cron job will be configured to make sure that your WordPress site’s cron is executed every minute, as it should be. WP-CLI Preloaded If you love WP-CLI (we do! ❤) you’ll be very pleased to find it available on the command line the first time you login to your server. Security Isolation for Sites For each site that you add to your server via SpinupWP, a new system user is created for that site. All site files are owned by the site user and a PHP-FPM pool is configured to run as that user as well. Each site only has access to its files and so if only one site has a security vulnerability and gets infected with malware for example, only the files for that one site can be infected. SFTP Access for Your Clients If you’re hosting a site for someone else, you can easily give them SFTP/SSH access to just that site. And because of the security isolation between sites, they will only have access to files for that site. Professional Guidance & Best Practices SpinupWP will actively point you in the right direction and offer suggestions for maintaining your server. And because it provides detailed feedback about the operations it runs on your server, you can learn what is happening with your server. New release of Ubuntu just came out, should I upgrade? We’ll add a notice to the app about that, why we don’t recommend upgrading your existing servers, and how you can spin up a new server with the new release of Ubuntu and migrate your sites to that server instead. Should I install Varnish to improve page caching performance? We’ve benchmarked Varnish and Nginx FastCGI Cache performed better. Varnish would add complexity too, so one less moving part is another reason. Much of the time SpinupWP will suggest things that you may not have even thought of. Email deliverability for example. SpinupWP will strongly encourage you to configure an email sending plugin for the best email deliverability. SpinupWP’s guidance is especially helpful for those new to managing a server, but can also help those who’ve been at it a while, providing transparency to our decisions. Scheduled Backups of Site Files & Database All server providers (DigitalOcean, Linode, etc) offer automated backups of your entire server for a fee. These services are great and we highly recommend having backups of your whole server. But what happens if some media or data was deleted by accident from your WordPress site? You’re not going to restore your entire server just to get that data back. That’s where site backups come in. Site backups are full backups of your site files (media, themes, and plugins) and database. They allow you to easily restore a single site or just some files or data from a single site. With SpinupWP’s site backups, you choose your preferred provider to stash your backups whether that’s Amazon S3, DigitalOcean Spaces, or Google Cloud Storage. You plug in your account details and SpinupWP will send your site backups there in an easy-to-see format. Teamwork Makes the Dream Work Create a new team account, invite a member of your team, and allow them to spin up their own servers. Or just only allow them to add sites, the permissions you give them is up to you. Features Page cache purging Persistent object caching Ensures debug.log files aren’t saved in a publicly-accessible location
Top keywords
- site28×2.59%
- spinupwp22×2.03%
- server20×1.85%
- security10×0.92%
- backups9×0.83%
- files8×0.74%
- add7×0.65%
- only7×0.65%
- sites6×0.55%
- cache5×0.46%
- caching5×0.46%
- user5×0.46%
Proxy Cache Purge
This plugin does not install nor configure a cache proxy. It acts as an interface with such services. One common method of caching content for websites is via the use of reverse proxy caching. Common examples of this are Varnish and NGINX. These systems allow a website to update content and have the visitor’s experience cached without the need for complex plugins storing the files locally and using up a user’s disk space. A reverse proxy cache is installed in front of a server and reviews requests. If the page being requested is already cached, it delivers the cached content. Otherwise it generates the page and the cache on demand. The Proxy Cache Purge plugin sends a request to delete (aka flush) the cached data of a page or post every time it’s modified. How It Works When content on a site is updated by WordPress, the plugin reaches out to the proxy cache service with the URL of the page, requesting the cache be deleted. Not all pages are deleted from the cache on every change. For example, when a post, page, or custom post type is edited, or a new comment is added, only the following pages will purge: The front page The post/page edited Any categories, tags, and/or custom taxonomies associated with the page Related feeds Associated JSON API pages In addition, your entire cache will be deleted on the following actions: Changing themes Pressing the Empty Cache button on the toolbar Plugins can hook into the purge actions as well, to filter their own events to trigger a purge. On a multisite network using subfolders, only network admins can purge the main site. Keep Your Cache Warm Purging is only half the story. Once Proxy Cache Purge empties a page, the cache for that URL is gone, so the next visitor triggers a full uncached render and waits for it. On busy sites this “cache stampede” shows up as slow pages right after every update. Cacheability Pro is a companion plugin that closes that gap: it automatically re-warms purged URLs in the background so visitors keep hitting fast, cached responses, and it tunes your cache headers so more of your pages stay cacheable in the first place. Proxy Cache Purge handles invalidation; Cacheability Pro handles everything around it. Monitor Your Cache Proxy Cache Purge keeps your cache fresh, but how often is it actually being hit? If you run your own Varnish or NGINX server, GetPageSpeed Amplify shows your cache hit rate, request volume, and backend health over time, with a free tier. Proxy Cache Purge handles invalidation; Amplify shows you whether the cache is doing its job. Development Mode If you’re working on a site and need to turn off caching in one of two ways: Add define( 'VHP_DEVMODE', true ); to your wp-config.php file Go to Proxy Cache -> Settings and enable Debug Mode for 24 hours at a time That will break cache on page loads. It is not recommended for production! Cache Tags (BETA) As of version 5.4.0, Proxy Cache Purge includes an optional Cache Tags / Surrogate Keys purge mode. This feature is marked as BETA and is disabled by default. When enabled, the plugin: Adds cache-tag headers to WordPress responses (for example, tagging pages by post ID, post type, taxonomy terms, author, and archives). Uses tag-based purges instead of individual URL purges when content is updated, which can reduce purge traffic and improve consistency on complex sites. Requirements: A proxy cache that supports Cache Tags / Surrogate Keys and advertises this via standard Surrogate-Capability headers (for example, Surrogate-Capability: vhp="Surrogate/1.0 tags/1"). How to enable: Go to Proxy Cache → Settings → Purge Method and check “Use Cache Tags (Surrogate Keys)”. The checkbox is only enabled when your cache tells WordPress it supports tags (or when you explicitly enable it via a define). Alternatively, you can force-enable or force-disable detection via wp-config.php: define( ‘VHP_VARNISH_TAGS’, true ); // Force treat cache as tag-capable define( ‘VHP_VARNISH_TAGS’, false ); // Force treat cache as not tag-capable Because this feature depends on your cache configuration, it is recommended that you test it carefully in staging before enabling it on production. Background Purging with WP-Cron On busy sites, sending many PURGE requests directly from admin requests can slow things down. When you define DISABLE_WP_CRON as true in wp-config.php (because you are running a real system cron that calls wp-cron.php), Proxy Cache Purge automatically switches to an asynchronous mode: Purge requests (both URL-based and tag-based, when Cache Tags are enabled) are collected into a small per-site queue. The queue is processed by WP-Cron in the background, keeping your admin and content-editing actions responsive even when many URLs or tags must be invalidated. Object-cache purges (the “Purge Database Cache” option) remain synchronous and are not affected by this behaviour. The Proxy Cache settings page and Site Health integration expose basic queue status so you can verify that background purging is healthy; if the queue appears large or very old, check that your system cron is correctly invoking WordPress cron. Important: Cron Frequency and Cache Freshness When using background purging, the frequency of your system cron determines how quickly cache invalidations are processed. The longer the interval between cron runs, the longer visitors may see stale content after updates. For minimal stale content, run your system cron every minute: * * * * * /usr/bin/php /var/www/html/wp-cron.php If you can tolerate slightly longer delays, every 2-5 minutes is also acceptable. However, running cron less frequently (e.g., every 15 minutes) means cache purges may be delayed by that amount after content changes. Note: Scheduled posts are handled specially. When a scheduled post is published via WP-Cron, the cache is purged synchronously within the same cron run, ensuring immediate cache invalidation without waiting for the next cron execution. For detailed instructions on setting up a proper Linux-based WordPress cron, see: WordPress Cron Optimization. Disabling Background Purging If you have DISABLE_WP_CRON defined but do not want background purging (for example, on low-traffic sites where immediate purges are preferred), you can force-disable cron-based purging by adding this to your wp-config.php: define( 'VHP_DISABLE_CRON_PURGING', true ); With this constant set, all cache purges will execute immediately during the request, regardless of the DISABLE_WP_CRON setting. WP-CLI Purge Purge commands let you empty the cache. wp varnish purge – Flush the entire site cache (equivalent to clicking “Empty Cache” in admin) wp varnish purge --all – Explicitly flush the entire site cache wp varnish purge – Flush cache for a specific URL and all content below it (wildcard) wp varnish purge --url-only – Flush cache for only the exact URL specified (no wildcard) wp varnish purge --tag= – Flush cache by tag (requires Cache Tags mode to be enabled) Examples: wp varnish purge – Purge entire site wp varnish purge --all – Same as above, more explicit wp varnish purge https://example.com/hello-world/ – Purge this URL and everything below it wp varnish purge https://example.com/hello-world/ --url-only – Purge only this exact URL wp varnish purge https://example.com/wp-content/themes/ --wildcard – Purge all theme files wp varnish purge --tag=p-123 – Purge all pages tagged with post ID 123 wp varnish purge --tag=pt-post – Purge all cached pages of post type “post” Debug Debugging can help you figure out why your cache isn’t working as well as it could. The default is for your home page, but you can pass any URL on your domain. wp varnish debug [ ] Available parameters: [--include-headers] — Include headers in debug check output [--include-grep] — Grep active theme and plugin directories for common issues DevMode Development mode allows you to disable the cache, temporarily. wp varnish devmode [ ] – Change development mode state Async purge queue (cron-mode) When you define DISABLE_WP_CRON as true and run a real system cron for WordPress, Proxy Cache Purge can move heavy purge work into a small background queue that is processed by WP‑Cron. You can inspect and manage that queue via WP‑CLI: wp varnish queue status – show whether cron-mode is active, if a full purge is queued, counts of queued URLs/tags, and the last queue run time. wp varnish queue process – process any items currently in the queue (useful to run after deploys or cache‑sensitive operations). wp varnish queue clear – clear the queue without sending any PURGE requests. These commands do not replace your normal WordPress cron (you still need a cron entry that calls wp cron event run --due-now or hits wp-cron.php), but they give you a simple operational handle when using cron‑mode. Understanding Purge Behavior There are different types of cache purges, and they behave differently: Manual Purges (Admin Bar) “Purge Cache (All Pages)” – Sends a single regex purge request to invalidate the entire cache. Always executes immediately. “Purge Cache (this page)” – Purges only the exact URL you’re viewing. Always executes immediately. Manual purges are always immediate, even when background cron-mode is enabled. This is intentional: when you click a button, you expect immediate results. Automatic Purges (Post Save/Update) When you save or update a post, the plugin automatically purges: The post’s URL The homepage Category archive pages Tag archive pages Author archive page Date-based archives RSS feeds Related REST API endpoints This can be 20-50+ URLs depending on your site structure. When cron-mode is enabled, these automatic purges are queued and processed in the background to avoid slowing down the post editor. Key Difference Action URLs Purged Uses Cron Queue? “Purge Cache (All Pages)” 1 (regex) No – always immediate “Purge Cache (this page)” 1 No – always immediate Post save/update 20-50+ Yes (if cron-mode enabled) If you need to immediately purge all URLs related to a specific post (not just the post URL), save the post – the automatic purge will handle all related URLs.