CloudFront Search Cache Preventer
Sends HTTP headers to force CloudFront and browsers NOT to cache search results. Prevents SEO spam cache poisoning.
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/petermosier/cloudfront-search-cache-preventer/archive/refs/heads/main.zipCloudFront Search Cache Preventer | Wordpress Custom Plugin | PHP
Sends HTTP headers to force CloudFront and browsers NOT to cache search results. Prevents SEO spam cache poisoning.
Version 1.0
Created for the website https://untamedframes.ca to prevent AWS CloudFront from caching search page results.
This is a Wordpress custom plugin (PHP).
⚙️ Installation: How To Upload this Custom Plugin to Wordpress
Reminder: The plugin name and version are stored in the header of the .PHP file, so the file names below are merely suggestions to keep things tidy.
Reminder: If using Wordpress Bitnami Multisite you can only add plugins from Network Admin
- Copy the
untamed-search-no-cache.phpfile to a new folder on your computer. A good (but not mandatory) folder name isuntamed-search-no-cache - Zip up that folder. A good (but not mandatory) name for the zip is
untamed-search-no-cache-v10.zip - In Wordpress Plugins page: Add Plugin > Upload Plugin > Choose File
- Activate the Plugin. If using Multisite, you can either Network Activate for all sites, or enable individually on a particular site's Plugin page.