perf: Delete previews in one go instead of individually
Open
@CarlSchwan is already working on this.
Since Jan 16, 2026.
🌍 scaling
0. Needs triage
enhancement
feature: previews and thumbnails
performance 🚀
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
With the new preview backend, we are deleting preview individually, this is probably expensive and slow.
Shouldn't we do it in one go?
- Flush the preview table
- Delete the preview directory
Previously it was done individually too.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.