Releases: nawawi/docket-cache
Releases · nawawi/docket-cache
v26.04.04
Release v26.04.04
- Added: Configuration UI toggle for WP-CLI OPcache Invalidation (mirrors DOCKET_CACHE_WPCLI_OPCACHE constant).
- Fixed: CliOpcache::notify() -> Buffered per-file notifications at shutdown to prevent HTTP request floods during GC and individual cache unlinks.
- Fixed: CliOpcache -> REST route registered before compat check to eliminate 404 noise when workers bail early under load.
- Fixed: CronAgent::receive_ping() -> Type-safety guard on ping inputs to prevent PHP 8 TypeError from array-form values.
- Fixed: CronAgent::receive_ping() -> Explicit return after close_ping() when CRONBOT is disabled.
- Fixed: CronAgent::receive_ping() -> Multisite loop isolates per-site errors via try/catch; wpcron_error reported so cronbot server detects persistent failures.
- Fixed: CronAgent::run_wpcron() -> Re-entry guard via instance flag and try/finally.
- Fixed: CronAgent::run_wpcron() -> ob_end_clean() on exception path; stop decrementing $run_event below zero.
- Fixed: CronAgent::run_wpcron() -> Pre-init $results and $cron_event to prevent PHP 8 undefined-variable warnings.
- Fixed: CronAgent::run_wpcron() -> REQUEST_URI check uses urldecode() and checks wp_doing_cron() first to avoid URL-encoded bypass.
- Fixed: CronAgent::send_action() -> Cache key includes action to prevent collision between on/off calls from the same IP.
- Improved: CronAgent::send_action() -> $stmp cache-buster refreshes every 5 minutes to avoid CDN staleness in long-running processes.
- Improved: CronAgent::check_connection() -> Skip on AJAX/REST/cron requests to reduce shutdown-hook overhead on high-traffic endpoints.
v26.04.03
Release v26.04.03
- Added: CliOpcache — Invalidate web-server OPcache from WP-CLI via REST endpoint.
- Added: DOCKET_CACHE_WPCLI_OPCACHE constant to enable/disable CLI OPcache invalidation.
- Added: DOCKET_CACHE_CONFIGACTION constant to enable/disable Export/Import settings feature.
- Added: Export/Import settings feature for configuration backup and restore.
- Fixed: CliOpcache -> Path traversal protection using realpath() validation.
- Fixed: CliOpcache -> Bulk flush suppression to avoid excessive HTTP requests during full cache flush.
- Fixed: CliOpcache -> Shared secret initialised during REST route registration.
- Fixed: ReqAction -> Flush Object Cache causing 502 nginx error by deferring flush after response.
- Fixed: Plugin::get_opcache_status() -> Filter scripts by ABSPATH to prevent counting other sites on shared hosting.
- Fixed: Plugin::get_opcache_status() -> Removed unnecessary is_file() stale check on every cached script.
- Fixed: OPcache Viewer -> Escaped output of configuration values to prevent XSS.
- Improved: Filesystem::unlink() -> Notify web-server OPcache on individual cache file deletion.
- Improved: Filesystem::cachedir_flush() -> Utilise Crawler class for internal HTTP requests.
- Improved: Plugin::get_opcache_status() -> Skip building scripts array for overview page, cap at 50000 for OPcacheView.
- Improved: Plugin::get_opcache_status() -> Timeout guard for file cache scan on shared hosting.
- Improved: OPcacheView -> Removed "All Items" option, replaced with 50000 items cap.
- Improved: OPcacheView::get_status() -> Cache result to prevent double scan per page load.
v24.07.07
v24.07.06
v24.07.05
v24.07.04
v24.07.03
v24.07.02
v24.07.01
Release 24.07.01
- Fixed: View::tooltip() -> Typos "dan".
- Fixed: Filesystem::sanitize_maxsizedisk() -> Returns default if empty.
- Added: DOCKET_CACHE_OPCVIEWER_SHOWALL constant to enable/disable listing all opcache file.
- Added: DOCKET_CACHE_PATH_NETWORK_(n) constant, to change default cache path for multinetwork. (n) for network Id.
v23.08.02
Release 23.08.02
- Fixed: Tweaks::post_missed_schedule() -> Prevent post publish immediately.
- Fixed: WP_Object_Cache() -> Add setters and getters for backwards compatibility.
- Added: TWEAKS_SINGLESEARCHREDIRECT_DISABLED constant to disable redirection of single search results to the page.
- Updated: Tested up to 6.4.