ideas icon indicating copy to clipboard operation
ideas copied to clipboard

More control on Cache permissions

Open stuartcusackie opened this issue 3 years ago • 2 comments

I'd like to be able to give my content managers the ability to wipe the static cache / stache / application cache, but I don't want them touching the glide cache.

Reason being is that clearing the glide cache can crash the website when you have lots of images with responsive sizes and jpeg fallbacks. For example, on my current project, 100+ images for a single page load would need to be regenerated by glide if the cache was cleared. Small cloud instances get easily overloaded by these requests.

I would still like my managers to be able to clear the static cache / stache in case of cached content bugs.

Thanks!

stuartcusackie avatar Jun 13 '22 12:06 stuartcusackie

The glide cache isn't in the stache nor Laravel's cache, is it?

Pretty sure it's separate.

edalzell avatar Jun 21 '22 21:06 edalzell

The glide cache isn't in the stache nor Laravel's cache, is it?

Pretty sure it's separate.

Yes the caches themselves are separate but the permissions for the utility aren’t.

duncanmcclean avatar Jun 21 '22 21:06 duncanmcclean