Image Caching |
[eluser]Twisted1919[/eluser]
Is there a way to cache all the images displayed in a web page using CodeIgniter ? If there is , please point me to right direction , a library , anything ...
[eluser]Eric Barnes[/eluser]
No I am not aware of any framework that will cache images. That is more a server setting and can be done with .htaccess in some cases: http://www.webmasterworld.com/apache/3659750.htm
[eluser]devbro[/eluser]
are the images created dynamically with CI? or do you have them stored in a folder? in first case you can add headers that tell the browser how long keep the files for. in second case there are .htaccess stuff that allow you to set these options.
[eluser]Twisted1919[/eluser]
please tell me more , an example of how should i do my images are stored in folders , separate folder for each of my users and each folder has several photos. LE : This did the job : Code: <IfModule mod_expires.c> |
Welcome Guest, Not a member yet? Register Sign In |