Adds the ETag, Last-Modified, Expires and Cache-Control headers to HTTP responses generated by WordPress. [DEPRECATED]
NOTICE: THIS PLUGIN HAS BEEN DEPRECATED. IT IS NO LONGER SUPPORTED. IT IS NO LONGER TESTED WITH NEW WORDPRESS RELEASES. USING IT IN PRODUCTION IS NOT RECOMMENDED.
IT IS STRONGLY SUGGESTED TO MIGRATE TO OTHER MORE MODERN AND BETTER MAINTAINED PLUGINS.
IF YOU ARE STARTING A NEW BLOG, IT IS HIGHLY RECOMMENDED TO SEARCH FOR OTHER PLUGINS IN ORDER TO AVOID THE INEVITABLE FUTURE MIGRATION.
REGARDING EXISTING USERS, AT THE TIME OF WRITING, THERE ARE NO MAJOR BUGS. PROVIDED THAT THE WORDPRESS API DOES NOT CHANGE SOON, YOU HAVE THE TIME TO EXPERIMENT WITH OTHER PLUGINS AND PLAN YOUR MIGRATION.
Please check out the changelog of each release by following the links below. You can also check the roadmap regarding future releases of the plugin.
['HEADER_NAME'] => 'HEADER_VALUE'
remove_pre_existing_headersoption. When enabled, it instructs the plugin to clear any preexisting ETag, Last-Modified, Expires, Cache-Control and Pragma headers before sending its own headers, according to the user defined options.
Pragma: cache, now sends
Pragma: public. This is not included in any standard. The
publicvalue is used by convention.
cache_max_age_seconds_for_authenticated_usersinitially set to 0 seconds. If you need cached content for authenticated users, adjust this accordingly.
Pragmaheader is now also sent with a value of
cacheaccording to Cache-Control header's
Requires: 3.1.0 or higher
Compatible up to: 4.5.5
Last Updated: 3 months ago
Active Installs: 3,000+
Got something to say? Need help?