Image manipulation & cache |
[eluser]Bondie[/eluser]
Is there a way of caching the dynamically generated images created with the image manipulation class or am I wasting my time? Here is my simple code, it's messy I know, I need to tidy it up: Code: <?php Some guidance and advice would be much appreciated! EDIT An example url would be: Quote:www.example.com/assets/img/resize/100/100/picture.jpg
[eluser]boltsabre[/eluser]
Isn't image caching handled by the browser which can be enabled/disabled/cleared by the user...?
[eluser]Bondie[/eluser]
You're totally right, and I've thought about this the wrong way! Thank you for jogging my mind.
[eluser]boltsabre[/eluser]
lol, no worries, happy to help. Today I asked one of my colleges how we were going to handle a JS redirect and .htaccess, I thought that the .htaccess wouldn't work because it was a js redirect... brain fades happen all the time ;-) |
Welcome Guest, Not a member yet? Register Sign In |