View Single Post
  #11  
Old 06-12-2008, 10:13 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
To cache it, simply save the image to a temporary location, and each time the script runs, have it check to see if the saved image is less than 1 hour old. If it is, the script can simply display the saved file rather than generate a new one. Otherwise, if the file doesn't exist, or is older than 1 hour, it can delete the old cache file and create a new one.
__________________
Jay Williams | A Different View
Reply With Quote