-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Emergency website cache control #8340
Conversation
…owa into emergency_website_cache_control
So far, compared to PROD, this is limiting the max-age of the endpoint. Because Drupal-Cache is still a HIT, I think I will remove the attempt at gutting of those. If the node_list does trigger, it should clear this under the 30 sec max-age. |
DEV:
PROD:
|
signage-stage hawk alert endpoint config has been switched to emergency.dev.drupal.uiowa.edu Testing: I opened a sign in an anonymous chrome-based browser and didn't touch it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed and tested with similar results. Let's get it up to prod.
Relates to #8336
How to test
Using https://emergency.dev.drupal.uiowa.edu/ and https://signage-stage.uiowa.edu/city-iowa-city/downtown-interchange-stop-0001 create hawk alerts and observe the behavior. Ideally alerts and replacement alerts should show up in less than or a little over a minute based on the various timers between the two systems. After an alert is marked as complete, it should fall off the sign in an hour. I've made no change to how signage fetches/displays these.
Then you
curl -I
the different endpoints (DEV/PROD), you should see a big difference in varnish cache age.The hope is that cutting Varnish times lower will prevent signs from fetching stale information.