Optimize your WordPress installation for the Google App Engine platform.
We recommend using the Batcache and Memcache drop-ins to cache your WordPress site. Batcache integrates with Memcache to cache your site on the App Engine memcache server and will ensure that CloudSQL is used as little as possible, reducing your costs.
If you host a rarely updated site, we suggest adding the following configuration
$batcache = [ 'seconds' => 0, 'max_age' => 60 * 30, // 30 minutes. ];
This will cache pages on your site for a year and ensure that they do not expire in memcache. With this setup and a fully primed cache, all anonymous users will be served via Memcache with no hits to CloudSQL.
Note that using WordPress' built-in comments will enable commenters to bypass the cache, so if you want to use comments on a fully-cached site, we recommend Intense Debate or Disqus (with the synchronization disabled).
Requires: 3.5 or higher
Compatible up to: 4.1.13
Last Updated: 2 years ago
Active Installs: 300+
Got something to say? Need help?