I've created a Magento module which should hook into an event when a file is saved to cache. But it looks like there isn't any event like that, or am I missing something?
I currently hooked up with the
but then the file is edited by magento before writing to cache because it's resized. Therefor overwriting my file optimalisation.
Is there any way I can hook to an image before it's written to cache, or after the resizing?