Skip to content

Deploy web app less often to reduce cache invalidation#2762

Merged
brandonpayton merged 2 commits intotrunkfrom
reduce-frequency-of-web-app-deploys
Oct 9, 2025
Merged

Deploy web app less often to reduce cache invalidation#2762
brandonpayton merged 2 commits intotrunkfrom
reduce-frequency-of-web-app-deploys

Conversation

@brandonpayton
Copy link
Member

Motivation for the change, related issues

@adamziel mentioned:

I’ve heard PHP Playground takes too long time to load every day – that’s because we use network-first caching strategy. I don’t see an easy way to switch to local-first caching, but we could invalidate the cache less frequently.

This seems like a good idea to me. The workflow for updating major and beta WP versions already triggers a deploy if there are changes. And if we need a deploy for any other reason, we can start one manually.

Implementation details

This changes the web app deployment schedule to 1100 UTC on Tuesday. This way, we avoid creating sudden changes at the beginning of everyone's week but have plenty of time to address any issues before the end of the week.

Testing Instructions (or ideally a Blueprint)

  • CI
  • After merge, confirm that the web app is deployed as expected on the following Tuesday and that no other scheduled runs occur.

@brandonpayton brandonpayton requested a review from a team October 9, 2025 17:14
@brandonpayton
Copy link
Member Author

Thanks, @adamziel. I'll go ahead and merge this because there is actually no reason to wait for CI AFAICT.

@brandonpayton brandonpayton merged commit 5dcc3d9 into trunk Oct 9, 2025
25 checks passed
@brandonpayton brandonpayton deleted the reduce-frequency-of-web-app-deploys branch October 9, 2025 17:29
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