Skip to content

Releases: nawawi/docket-cache

v26.04.04

17 Apr 19:55

Choose a tag to compare

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

03 Apr 15:43

Choose a tag to compare

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

08 Feb 04:28

Choose a tag to compare

Release v24.07.07

  • Fixed: _load_textdomain_just_in_time was called incorrectly on WordPress 6.7+.

v24.07.06

08 Feb 03:05

Choose a tag to compare

Release v24.07.06

  • Fixed: MoCache double-applying load_textdomain_mofile filter.

v24.07.05

11 Jan 16:11

Choose a tag to compare

Release v24.07.05

  • Fixed: Authorization and nonce verification in AJAX worker handler.

v24.07.04

18 Aug 18:48

Choose a tag to compare

Release v24.07.04

  • Fixed: View::parse_log_query() -> proper handling file path traversal.

v24.07.03

16 Mar 17:29

Choose a tag to compare

Release 24.07.03

  • Fixed: View::render() -> proper handling subpage name.
  • Fixed: Event::garbage_collector() -> missing is_wp_cache_group_queries() method.

v24.07.02

06 Dec 15:34

Choose a tag to compare

Release 24.07.02

  • Fixed: _load_textdomain_just_in_time was called incorrectly.
  • Fixed: blueprint.json -> deprecated pluginZipFile property.
  • Updated: Tested up to 6.7.

v24.07.01

21 Jul 14:42

Choose a tag to compare

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

13 Nov 01:17

Choose a tag to compare

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.