Repository navigation
v0.2.2 - Performance and Edge Cache
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, and304 Not Modifiedsupport for browser and edge revalidation. - Added
scripts/refresh-cache.phpplus 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.jsreferences with/assets/signalops-ui.js; the dashboard template already does this. - For production, review
cache.path,cache.refresh_lock_path, andcache.php_cliin 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
_cachemetadata out of the stored cache file.