2.7.1
- ChangeImproved the cache warmer user agent to use a plain Perfmatters/Warmer string (with a mobile token for separate mobile cache) instead of spoofed browser user agents, which could return Cloudflare 520 errors on hosts such as SiteGround when the warmer fell back to the public URL.
- NewAdded new perfmatters_cache_warmer_user_agent filter to override the warmer user agent.
- NewAdded new perfmatters_cache_browser_ttl filter to set browser Cache-Control max-age on cached HTML in seconds (default empty = no-cache, must-revalidate). Save cache settings after changing so page-config and .htaccess update.
- ChangeCache settings now detect a stale page-config (including filter changes) and prompts to reinstall cache files.
- ChangeSwapped the settings subnav active and inactive colors to match the main Perfmatters menu behavior.
- ChangeDatabase and cache warmer Scan Now buttons now wait to show the completed message until the result counts finish printing.
- ChangeReplaced the Cloudflare Zone ID text field with a Zone setting (Auto or Manual Zone ID). Auto-detect is the default. Choosing Manual Zone ID reveals the Zone ID input field when needed.
- ChangeSaving a change to the Cloudflare Zone ID now correctly reloads the settings screen for necessary updates.
Show all 15 changes
- ChangeCloudflare cache rules no longer re-force the wordpress_logged_in cookie bypass after perfmatters_cache_bypass_cookies runs, so the default logged-in bypass can be removed via the filter when needed. Sync rules after changing the filter.
- FixFixed Cloudflare single-URL purges (publish, update, clear URL) not invalidating edge HTML because cache rules matched GET/HEAD only. Rules now also match PURGE.
- FixFixed Cloudflare cache rules sync on a shared zone (apex + subdomain) deleting the other site's rules. Sync now only removes this host's rules.
- ChangeCloudflare cache rules now attempt to update automatically once in wp-admin on a rule version change.
- ChangeUpdated the Perfmatters cache HTML comment to use the site's local timezone with a UTC offset.
- ChangeRenamed the Cloudflare status card success state from Ready to Connected.
- ChangeTranslation updates.