Results 1 to 1 of 1
-
22nd Jun 2011, 10:12 AM #1OPMember
Dynamic Image Header Optimization
I have a PHP file that displays images that are stored in my database. I'm trying to optimize my website by sending certain headers to the browser that say how long before expiration or when it expires.
I don't want to just use "Cache-Control: max-age" with some time that I estimated the images would expire, because they could either change in 5 months or 1 second from now. But is that the only thing I can do? For each image, I can also get the timestamp of when it was added if that helps at all. What headers would be best to send to the browser?Jjkdjiw Reviewed by Jjkdjiw on . Dynamic Image Header Optimization I have a PHP file that displays images that are stored in my database. I'm trying to optimize my website by sending certain headers to the browser that say how long before expiration or when it expires. I don't want to just use "Cache-Control: max-age" with some time that I estimated the images would expire, because they could either change in 5 months or 1 second from now. But is that the only thing I can do? For each image, I can also get the timestamp of when it was added if that helps at Rating: 5
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
Smush IT! Image optimization tool!
By CM in forum Webmaster ResourcesReplies: 5Last Post: 28th Dec 2011, 10:29 PM -
[Hiring] Header Image for tekkbase.net
By blowie in forum Completed TransactionsReplies: 74Last Post: 11th Oct 2011, 02:20 PM -
Which one is a better header image in your opinion
By Rocke in forum Polling PlazaReplies: 20Last Post: 19th Jan 2011, 11:10 AM -
Dynamic Image Generation
By Ambition in forum General DiscussionReplies: 0Last Post: 4th Oct 2010, 08:52 AM -
How to get rid of that image on my site's header
By ceekeigh in forum vBulletinReplies: 8Last Post: 23rd Oct 2009, 01:01 AM
themaManager - edit and manage...
Version 4.04 released. Open older version (or...