DannyA:
I understand where the cache comes into play for caching queries. But, how is a response from the cache folder any faster than a response from the media folder? Aren't you just doubling your storage?
No - it's for cached, resized versions of images. We don't really want to be showing someone a 5mb 4000x3000 version of the image from the media directory when it only needs to be 50x30?
Quote:
And yes, I think there should be some script that looks at the TTL of cache objects and deletes anything that has expired; otherwise that folder will just grow and grow exponentially to the amount of content you have.
It's not as simple as that since S3 has no concept of "last access" (unless you want to deal with logging). No matter how long we go until we "expire", at some point we will start expiring valid objects, which we don't want to do. There is no easy solution to that problem, and so for now you would just want to let it grow and do a manual image cache reset from the tools menu say once a month.
I've got some ideas on something that may partially work, but it's not implemented yet.
--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net