-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
None
-
None
I'm not able to refresh the view to see assets that might have been uploaded through the s3 management console. I have to restart and reconnect to refresh the view.
Reproduce
- Install the s3 external dam connector.
- Open the dam app.
- Upload a new file through the AWS console.
- Observe the new file is not available.
Expected
There should be a way to refresh the view. Ether by action or closing and reopening the app.
AC
Create command in magnolia-addon-commons-cache module that allows flushing cache by name
Workaround options
Cache expiry configuration can be adjusted:
cacheConfigurations: s3: caches: s3-objects: maximumSize=500, expireAfterAccess=10m s3-buckets: expireAfterAccess=60m
See External DAM module - configuring the cache.
With a groovy script:
import info.magnolia.objectfactory.Components cacheManager = Components.getComponent(info.magnolia.addon.commons.cache.CacheManager) cacheManager.evictCache("s3-objects") println "s3 cache cleared"
Acceptance criteria
- is depended upon by
-
EXTDAM-166 [ADCOM-6] Flush cache action for the s3Browser
- Open
- is related to
-
MGNLCACHE-231 Improve cache debug/trace logging
- Closed