mirror of https://github.com/pixelfed/pixelfed
Add admin UI button to clear instance cache
Adds a 'Clear Instance Cache' card to /i/admin/settings/system that POSTs to a CSRF-protected route and calls LandingCacheService::invalidate(), which clears every key behind the landing page, /api/v(1|2)/instance, and nodeinfo. Useful as an escape hatch after manual ConfigCache edits or when debugging stale-cache symptoms (like trying to set up a brand-new instance); under normal operation the event-driven invalidation in surrounding commits makes this unnecessary.pull/6656/head
parent
793d2c3ef3
commit
7b939e9d65
Loading…
Reference in New Issue