Skip to content
Snippets Groups Projects

enable per-page caching on the public alerts page

Merged Alexander Pace requested to merge public-page-caching into master

By default the public alert page is cached 300s, but that can be changed with an environment variable when deployed.

Before:

Screen_Shot_2023-07-06_at_4.46.07_PM

(Note i set the cache control to be five seconds by default, for local development)

After:

Screen_Shot_2023-07-06_at_4.47.15_PM

I started to get really nervous looking at the number of O4 insignificant events, so let's store that page in cache longer.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading