Cache-Control

Cache-Control | Daniel Aleksandersen

Description

Good caching policies is one of performance’s best friends, and it can be your new best friend too. Get friendly with intermediary and browser caches by taking control over your WordPress powered website’s HTTP Cache-Control headers.

This is not a caching plugin in itself, but will enable you to leverage existing standard compliant caching systems better. You can set different policies for different kinds of pages to suite your website’s needs. The Cache-Control for WordPress plugin allows you to set different policies for shared/intermediary and private caches. The plugin sets some sensible defaults for a medium traffic blog that publishes an update or two per week.

You can safely set long Cache-Control times as the max-age values is lowered automatically before a scheduled post is about to be published.

Private pages (logged in users, the admin interface, etc.) will not be cached.

The plugin has extensive documentation.

Installation

  1. Upload the plugin files to the /wp-content/plugins/cache-control directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the Settings->Cache-Control screen to configure the plugin

Optionally, also setup mod_cache in Apache or some kind of reverse proxy like Varnish or Nginx to improve your WordPress site’s loading performance.

Plugin author

Daniel Aleksandersen

Plugin official website address

https://wordpress.org/plugins/cache-control/
If you encounter problems in using the Cache-Control plugin, you can comment below, and I will try my best to help you solve the problem

Leave a Comment

Your email address will not be published.