1
0
Fork 0
hugo/resources/images
Bjørn Erik Pedersen 1f5a15aba0 resources: Fix 2 image file cache key issues
* Always include the content hash in the cache key for unprocessed images.
* Always include the image config hash in the cache key.

This is also a major cleanup/simplification of the implementation in this area.

Note that this, unfortunately, forces new hashes/filenames for generated images.

Fixes #13273
Fixes #13272
2025-01-18 12:23:18 +01:00
..
exif Switch EXIF library 2024-07-20 15:56:10 +02:00
imagetesting resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
testdata/images_golden resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
webp all: gofmt -w -r 'interface{} -> any' . 2022-03-17 22:03:27 +01:00
auto_orient.go Fix images.AutoOrient regression 2024-08-02 10:36:06 +02:00
color.go Add Luminance to Color 2024-04-16 10:02:46 +02:00
color_test.go resources/images: Fix TestColorLuminance on s390x 2024-04-19 11:21:50 +02:00
config.go resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
config_test.go resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
dither.go Add images.Dither filter 2024-02-11 22:51:11 +02:00
filters.go resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
filters_test.go Consolidate all hashing to the common/hashing package 2024-07-31 16:44:06 +02:00
image.go resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
image_resource.go Add Luminance to Color 2024-04-16 10:02:46 +02:00
images_golden_integration_test.go resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
images_integration_test.go Fix compare of uints and ints in eq, gt etc. 2024-08-10 14:00:21 +02:00
mask.go resources/images: Add images.Mask 2025-01-11 12:20:11 +02:00
opacity.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
overlay.go images: Add images.Overlay filter 2020-12-17 09:14:18 +01:00
padding.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
process.go all: Rework page store, add a dynacache, improve partial rebuilds, and some general spring cleaning 2024-01-27 16:28:14 +01:00
resampling.go Add a set of image filters 2019-08-28 15:59:54 +02:00
smartcrop.go resources: Fix 2 image file cache key issues 2025-01-18 12:23:18 +01:00
text.go images.Text: Add "alignx" option for horizontal alignment 2025-01-08 17:23:46 +01:00