Skip to content

Updates to CDN caching strategy on deployment - #4959

Merged
DaleMcGrew merged 3 commits into
wevote:developfrom
josephevans:update_cdn_cache
Oct 15, 2026
Merged

DaleMcGrew merged 3 commits into
wevote:developfrom
josephevans:update_cdn_cache

Conversation

@josephevans

Copy link
Copy Markdown
Member

What github.com/wevote/WebApp/issues does this fix?

https://wevoteusa.atlassian.net/browse/WV-4929

Changes included this pull request?

  • Update caching headers to cache static assets long-term, add a surrogate-key header for the main index.
    html page (and all dynamic routes) so we can purge by this key.
  • Update deployment script to use surrogate key when calling Fastly purge API.

…ate-key header for the main index.html page (and all dynamic routes) so we can purge by this key.
@DaleMcGrew

Copy link
Copy Markdown
Member

Thank you @josephevans! 👍

@DaleMcGrew
DaleMcGrew merged commit 0178bc8 into wevote:develop Oct 15, 2026
6 checks passed
@josephevans
josephevans deleted the update_cdn_cache branch October 15, 2026 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants