Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Revert #2096 - [sites] Don't delete unused assets #2214

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

threepointone
Copy link
Contributor

This reverts the changes made in #2096 that would preserve already uploaded assets with [site], even if they weren't being used. This lads to longer upload times for sites with rapidly changing assets, and a burgeoning kv store. We're reverting this for now, and will add a proper fix later that expires unused assets on upload.

cc @jgentes

@threepointone threepointone requested a review from a team as a code owner March 8, 2022 09:52
This reverts the changes made in #2096 that would preserve already uploaded assets with `[site]`, even if they weren't being used. This lads to longer upload times for sites with rapidly changing assets, and a burgeoning kv store. We're reverting this for now, and will add a proper fix later that expires unused assets on upload.
@threepointone threepointone merged commit af7b22b into master Mar 10, 2022
@delete-merged-branch delete-merged-branch bot deleted the revert-sites-asset-persistence branch March 10, 2022 15:30
@jgentes
Copy link

jgentes commented Mar 14, 2022

We'll work on cutting a new release to get this out.

@threepointone
Copy link
Contributor Author

Before that, could we also implement expiring assets like we're doing in cloudflare/workers-sdk#587?

@jgentes
Copy link

jgentes commented Mar 15, 2022

@caass is going to take a look, I agree it would be great to wait for that fix.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants