mirror of
https://github.com/stashapp/stash.git
synced 2026-03-26 23:21:52 +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. |
||
|---|---|---|
| .. | ||
| generate | ||
| create.go | ||
| delete.go | ||
| export.go | ||
| export_test.go | ||
| filename_parser.go | ||
| filter.go | ||
| find.go | ||
| fingerprints.go | ||
| hash.go | ||
| import.go | ||
| import_test.go | ||
| marker_import.go | ||
| marker_import_test.go | ||
| marker_query.go | ||
| merge.go | ||
| migrate_hash.go | ||
| migrate_screenshots.go | ||
| query.go | ||
| scan.go | ||
| scan_test.go | ||
| service.go | ||
| update.go | ||
| update_test.go | ||