Skip to content

Commit

Permalink
fix: remove version specific cache causing issues moving files betwee…
Browse files Browse the repository at this point in the history
…n stages

CacheItemsTrait manages a cache based on s3 object file name to reduce API calls. 

This causes issues when publishing or unpublishing files due to CacheItemsTrait::getCache() returning separate caches for draft and published records.
  • Loading branch information
wilr authored Sep 23, 2024
1 parent f15b560 commit d0e28fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _config/assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SilverStripe\Core\Injector\Injector:
factory: SilverStripe\Core\Cache\CacheFactory
constructor:
namespace: "s3Cache"
disable-container: true
---
Name: silverstripes3-flysystem
Only:
Expand Down

0 comments on commit d0e28fb

Please sign in to comment.