I need a cache for binary data, specifically, they're images.
I'm currently using Cache_Lite from Pear Cache, do you know if it's safe to use it on binary data ?
Currently what I do is, having an array with two items, one the format of the image and one the image, I serialize it and then cache it and I retrieve it, unserialize it and use it latter. Is all that 'binary safe' ? is there a safer way ?
Thanks.😃