mirror of
https://github.com/stashapp/stash.git
synced 2026-03-07 21:51:46 +01:00
* Fix stale thumbnails after file content changes When a file's content changed (e.g. after renaming files in a gallery), the scan handler updated fingerprints but did not bump the entity's updated_at timestamp. Since thumbnail URLs use updated_at as a cache buster and are served with immutable/1-year cache headers, browsers would indefinitely serve the old cached thumbnail. Update image, scene, and gallery scan handlers to call UpdatePartial (which sets updated_at to now) whenever file content changes, not only when a new file association is created. |
||
|---|---|---|
| .. | ||
| delete.go | ||
| export.go | ||
| export_test.go | ||
| filter.go | ||
| import.go | ||
| import_test.go | ||
| query.go | ||
| scan.go | ||
| scan_test.go | ||
| service.go | ||
| thumbnail.go | ||
| update.go | ||
| vips.go | ||
| webp.go | ||
| webp_internal_test.go | ||