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
Joe Mooring
889308dd85
resources: Address Dart Sass deprecation of global built-in functions
...
See https://github.com/sass/dart-sass/releases/tag/1.80.0
Fixes #12961
2024-11-01 14:05:27 +01:00
Bjørn Erik Pedersen
216a69a1ef
Shorten processed image filenames
...
Fixes #12688
Fixes #12656
2024-07-31 16:44:06 +02:00
Bjørn Erik Pedersen
9e9b1f110c
Fix Name for nested resourced fetched in resources.ByName and similar
...
Fixes #12214
2024-03-13 18:59:50 +02:00
Bjørn Erik Pedersen
a4b17470a8
Fix resource name in resources.ByType
...
Fixes #12190
2024-03-07 09:50:50 +01:00
Bjørn Erik Pedersen
4d5e173cf8
Fix global resource isn't published when using an uncommon code construct
...
Fixes #12190
2024-03-07 09:50:50 +01:00
Bjørn Erik Pedersen
7023cf0f07
Fix resources.GetMatch, resources.Match, and resources.ByType to they don't normalize permalinks
...
Fixes #12182
2024-03-01 13:34:05 +01:00
Bjørn Erik Pedersen
982d9513e7
testing: Simplify some integration tests
2024-01-28 22:17:22 +01:00
Bjørn Erik Pedersen
2a0329423c
testing: Rename integration_test.go to PACKAGE_integration_test.go
...
Primary motivation making them easier to find in the code editor.
2024-01-28 11:41:59 +01:00