Skip to content

v0.2.2 - Performance and Edge Cache

Choose a tag to compare

@tuolaji996 tuolaji996 released this 24 Jun 08:07
· 3 commits to main since this release

What's changed since v0.2.1

This release focuses on public-page performance, Cloudflare compatibility, and perceived freshness for production SignalOps installs.

  • Added stale-first cache behavior so existing snapshots can render immediately while stale probes refresh out of band.
  • Added optional tmpfs-backed cache defaults for Linux installs via /dev/shm/signalops-status/.
  • Added ETag, Last-Modified, cache-age headers, and 304 Not Modified support for browser and edge revalidation.
  • Added scripts/refresh-cache.php plus optional systemd service/timer templates to keep the status snapshot warm every minute.
  • Replaced the map-only JavaScript with signalops-ui.js, which keeps the local clock and relative timestamps fresh in the browser and lazily initializes the interactive latency map.
  • Added Cloudflare documentation for revalidation checks and cache warmer installation notes.

Upgrade notes

  • Replace /assets/signalops-map.js references with /assets/signalops-ui.js; the dashboard template already does this.
  • For production, review cache.path, cache.refresh_lock_path, and cache.php_cli in your private config.
  • If using the optional systemd timer, edit the unit paths and service user/group for your server before enabling it.

Verification

  • PHP lint passed on all PHP files with PHP 8.2.
  • JavaScript syntax check passed for public/assets/signalops-ui.js.
  • CLI render smoke test passed in demo mode.
  • Cache refresh script created a snapshot successfully and kept runtime _cache metadata out of the stored cache file.