=== Pressable Cache Management Change log ===

= Version 6.1.0 (Mar 16, 2026) =
* Added new features to enhance Edge Cache

= Version 6.0.0 (Mar 12, 2026) =
* Added defensive mode feature for Edge Cache

= Version 5.9.9 (Mar 08, 2026) =
* Updated language string to support admin menu
* Add features to track max age
* Updated transcient for status checker
* Updated settings
* Updated validation method for exclude cache

= Version 5.8.7 (Mar 07, 2026) =
* Fix botton bug
* Update checkbox button color to red when disabled
* Bug fix
* Bypass Edge Cache header when Batcache checker checks for cache status
* Fix grid and margins


= Version 5.5.5 (Mar 06, 2026) =
* Update Edge Cache page UI
* Update button color
* Updated tool tip for Batcache status checker


= Version 5.3.2 (Mar 05, 2026) =
* Update the grid to also fill the full width of the centred container

= Version 5.3.1 (Mar 05, 2026) =
* Updated plugin updater

= Version 5.3.0 (Mar 05, 2026) =

**UI & Design**
* Redesigned settings page with card-based layout, toggle switches, and Inter font typography
* Added "Cache Management by" header above Pressable logo in branded header
* Made footer ♥ icon clickable in both branding states, linking to branding settings page
* Timestamps (Last flushed at:) are now always visible showing — when never flushed
* Timestamps display on a single straight line using flexbox layout (no line breaks)
* Bold text inside timestamps (e.g. — cache flushed due to Page edit: My Post) now renders correctly as bold rather than showing raw <b> tags
* Darkened timestamp and label text for improved readability
* Added interactive chip UI for cache exclusion URL input
* Added branded admin bar modals replacing browser alert() popups for Edge Cache enable/disable and flush actions

**Batcache Status Badge**
* Fixed Batcache status check to read the correct x-nananana header instead of scanning the response body for the word "batcache"
* Fixed probe request to send no session cookies and mimic a real browser request, preventing Batcache from skipping the response
* Removed Cache-Control: no-cache from the probe request which was causing the Pressable edge CDN to bypass cache entirely
* Added 90-second transient cache on the status result to avoid a live HTTP request on every admin page load
* Added ↺ refresh button on the badge that re-checks live status via AJAX without requiring a full page reload
* Added tooltip ? icon next to the badge explaining: when a page gets two visits within 2 minutes it is cached for 5 minutes, and that cookies may interfere with cache status updates
* Status transient is cleared immediately after any manual cache flush so the badge reflects the new state on next load

**Cache Flush Improvements**
* Flush Cache on Plugin/Theme Update now captures and displays the plugin or theme name in the timestamp (e.g. — Yoast SEO plugin was updated)
* Flush Cache on Post/Page Edit now captures and displays the post title and post type in the timestamp
* Page URL: field now correctly shows the human-readable URL when flushing from the page/post column link (previously showed the md5 hash Batcache uses internally)
* Page URL: field now correctly saves when flushing from the page preview toolbar
* Renamed Object Cache page button Flush Cache → Flush All Cache

**GitHub Auto-Updates**
* Integrated YahnisElsts/plugin-update-checker v5.6 library (bundled directly, no Composer required)
* Plugin now checks github.com/pressable/pressable-cache-management for new releases automatically
* WordPress sites show the standard update notice when a new GitHub Release is published
* Added readme.txt used to populate the "View Details" popup in WordPress admin when an update is available
* Added SETUP.md with full instructions for releasing future updates via GitHub tags
* Removed unused library files: DebugBar/ and OAuthSignature.php to reduce plugin size

**Translations**
* Added French (fr_FR) translation — 65 strings
* Added Dutch (nl_NL) translation — 65 strings
* Added Simplified Chinese (zh_CN) translation — 65 strings
* Added Hindi (hi_IN) translation — 65 strings
* Updated Spanish (es_ES) translation to 65 strings
* Fixed load_plugin_textdomain() to use the correct relative path so all locales load when site language is changed
* Wrapped all previously untranslated UI strings including card titles, toggle labels, descriptions, exclude pages hint text, and branding page strings
* All tooltip and badge strings included in all 5 languages

**Uninstall Cleanup**
* Rewrote uninstall.php to delete all option keys the plugin has ever written, organised by category: main settings, all timestamps, Edge Cache state, Batcache flags, exclusion settings, WooCommerce notices, legacy CDN options from older versions
* Added $wpdb->query() to sweep out PUC transients (_transient_puc_*pressable-cache-management*) on uninstall

= Version 5.2.2 (Oct 15, 2025) =
* Fix bug for admin bar option not updating quicky after Edge cache is enabled/disabled 

= Version 5.2.1 (Oct 7, 2025) =
* Added option to purge Edge Cache for single URL
* Removed API connection features for edge cache
* Added option to control Edge Cache without using an API connection
* Added dropdown button to flush both Object and Edge Cache
* Added option to automatically purge Edge Cache when WooCommerce product are edited via the WooCommerce API
* Removed all support for the CDN

= Version 5.1.0 (Jul 30, 2025) =
* Updated permission Only users with the following: administrator, editor and manage_woocommerce Can: See the "Flush Cache" option.

= Version 5.0.0 (May 30, 2025) =
* Removed CDN tab as CDN feature has been phased out from Pressable

= Version 4.9.9 (Mar 22, 2025) =
* Added functionality to exclude specific pages from Batcache caching, ensuring they are not cached by the Edge Cache
* Updated description for the option exclude page from Batcache to include Edge Cache 

= Version 4.8.9 (Feb 22, 2025) =
* Fix bug to resolve issue with cache terminating when a single page is excluded from cache

= Version 4.7.9 (Jan 28, 2025) =
* Fix bug that breaks site when excluding single file from CDN

= Version 4.6.9 (Nov 15, 2024) =
* Added features to exclude home page from caching

= Version 4.5.9 (Oct 31, 2024) =
* Added a check if the "Name" key exists in $plugin_info before trying to access it to prevent  "Undefined array key 'Name'"

= Version 4.4.9 (Oct 3, 2024) =
* Fix: ensure HTML/CSS is not output on every page load including AJAX requests

= Version 4.3.9 (July 24, 2024) =
* Updated Pressable branding

= Version 4.2.9 (July 22, 2024) =
* Fixed bugs

= Version 4.2.8 (July 22, 2024) =

* Sync the plugin CDN and Edge Cache state with MyPressable Control Panel when the plugin is authenticated
* Disable CDN state by defualt on plugin install
* Hide CDN tab if /cdn api endpoint is not found

= Version 4.2.7 (June 27, 2024) =
* Fixed bug with <p> tag added to robots.txt code snippet when extend cache option is enabled for some sites
* Updated from v4.2.6 - v4.2.7 

= Version 4.2.5 (March 18, 2024) =
* Fixed the warning error bug with DOMDocument – PHP Warning: DOMDocument::loadHTML():

= Version 4.2.2 (December 1, 2023) =
* Fixed footer conflict with Yoursite plugin which causes critical error

= Version 4.2.1 (September 14, 2023) =

* Add notice to disable CDN if Edge Cache is enabled
* Fixed bug with edge Cache turn on/off not syncing properly with MyPressable Control Panel

= Version 4.2.0 (June 22, 2023) =
* Changed the location for mu-plugins used to flush cache when Woo product is updated via API

= Version 4.1.0 (June 22, 2023) =
* Fixed issue double function deceleration 

= Version 4.0.0 (June 21, 2023) =
* Removed edge cache purge time stamp from database

= Version 3.10.10 (June 20, 2023) =

 * Features to flush WooCommerce product page automatically when product are updated via Woo API
 * Ability for Shop managers to flush cache via Admin top bar
 * Ability to extend cache for URL's inside data-srcset attributes
 * Features to manage Edge Cache option
 * Resolve conflict that causes Imagify plugin generated .webp images from displaying
 * Ability to auto turn on Edge Cache if it is disabled from MPCP when Edge cache is purged

= Version 3.9.10 (June 8, 2023) =

* Fixed bug of purge CDN button which is displaying when CDN is disabled
* Hide visible hyperlink on footer page to hide branding
* Fixed issue with tag not appending to RSS feed page
* Fixed bug for broken images inside 

= Version 3.8.10  (May 12, 2023) =
* Added features and notification to check if Cloudflare is interfering with Batcache

= Version 3.7.10  (May 2, 2023) =
* Code cleanup and changelog update

= Version 3.6.10  (Apr 20, 2023) =

* Excluded gclid option from the UI
* Excluded wpp_ cookies option from the UI

= Version 3.5.10  (Mar 23, 2023) =

* Updated new option

= Version 3.4.10  (Mar 23, 2023) =
*  Hide option from UI which does not function correctly yet

= Version 3.3.10 (Mar 20, 2023) =
* Updated batcache code 

= Version 3.3.9 (Feb 26, 2023) =
* Updated language functionality 

= Version 3.3.8 (Feb 23, 2023) =
* Added support to move mu-plugin from PCM to a private folder 

= Version 3.3.7 (Feb 20, 2023) =
* Bug fixes and new features added 

= Version 3.3.6 (Feb 07, 2023) =
* Updated footer icon

= Version 3.3.5 (Jan 07, 2023) =

* Updated extending cache option to execute via mu-plugin
* Added option to flush cache when comment is deleted
* Added notification to know if plugin or theme was updated 
* Disable plugin automatically when used on another platform
* Add option to flush website cache automatically when page or post is deleted after publishing this works for post-types as well
* Added option to exclude pages from Batcache

= Version 3.3.4 (Aug 12, 2022) =
* Fixed function conflict on Flush cache on theme plugin update

= Version 3.3.4 (Aug 12, 2022) =

*  Fixed Zend OPcache API is restricted by "restrict_api" configuration directive warning on extended batcache 
*  Fixed admin notice not displaying when extend batcache is enabled and disabled

= Version 3.3.4 (Aug 4, 2022) =
* Fixed bug for site id not entering on multi-network site

= Version 3.3.4 (Jul 10, 2022) =

* Fixed TTFB performance issue that slows down WordPress admin
* Renamed authentication button to save option
* Rename authentication button tab button to save option
* Hide save button if connection is successful for added security
* Cached the API key using transient for fast performance 
* Added new admin notice warning to alert user if CDN is flushed twice within a minute
* Added admin notice to alert user to connect to the api if API credentials is not saved
* Updated toggle option to enable/disable CDN to button
* Added settings option from the plugin area
* Added button option to connect and disconnect API
* Added option to clear API credentials when API is disconnected
* Added nonce to button for added security
* Fixed bug that shows CDN option when plugin is not yet connected to the API
* Added error message to alert user if the plugin is installed on site hosted on another platform

= Version 3.2.3 (Jul 03, 2022) =
* Fixed CSS conflict issue with some third-party plugin

= Version 3.1.4 (May 21, 2022) =
* Added warning notice to CDN cache extender when enabled to notify user to disable the option if it causes any issue(The CDN extender features is buggy and know 

= Version 3.0.3 (May 21, 2022) =
* Fixed issue with api_connection which adds extra time to site TTFB

= Version 3.0.2 (April 28, 2022) =
* Fixed ?extend_cdn appended to the word style.css which is added to blog post/page

= Version 3.0.2 (April 22, 2022) =
* Applied patch to prevent HTML injection from all CDN exemption features
cdn_exclude_css, cdn_exclude_js_json, cdn_exclude_jpg_png_webp, cdn_exclude_specificfile.

= Version 3.0.1 (April 17, 2022) =
* Exclude Google Tag Manager gtm.js from Pressable CDN to fix Google tracking issue bug
