GeoHazardWatch caches rendered page content and other frequently accessed data in memory to improve response times. Administrators can flush all caches at once or evict a single page without affecting the rest.
Clear the cache when:
Normal page edits through the UI automatically invalidate the cache for the affected page, so manual clearing is rarely needed.
The operation is fast and does not require a server restart. Users may notice slightly slower page loads briefly while caches are rebuilt.
To evict one page without flushing everything, use the API endpoint:
POST /api/admin/cache/clear/page/{identifier}
Where {identifier} is the page UUID, slug, or title. Requires an active admin session.
Example using curl (replace the UUID and cookie):
curl -X POST https://yoursite/api/admin/cache/clear/page/b06973bc-56c2-4da0-8702-08408de8c207 \
-H "Cookie: connect.sid=your-session-id"
Response:
{ "success": true, "evicted": true, "identifier": "b06973bc-..." }
evicted: false means the page was not in the cache (no action needed).
| Scope | Clears |
|---|---|
| All caches (Admin UI) | Rendered page HTML, plugin output, template fragments |
| Single page (API) | Provider content cache entry for that page only |
The page index, search index, and user sessions are not affected by either operation.