Okay this script is searching for images within an rss feed. So since I know the url of the image i.e. http://www.websiterrrrr.com/image.jpg how can I cache this? Are there some simple scripts that allow me to do this? Also does this save time on the user's end or is it the same amount of time for the user when the page is loaded. TY Skinny
Are you trying to display the list of images found in the RSS feeds on your site ? If so, first thing to consider I guess is, what do the target sites allow you to do? Do they allow you to hot-link the images? Do they allow you to store a copy of them?
Usually server side image caching is performed when the image is created Dynamically using PHP, ie after creating/resizing an image using GD etc. Also, I don't think it will speed up the downloading process for the user (I am not sure)
Since you know the URL of the image, just use copy() to save a local copy of the file. With regard to caching, the only benefits for your users are: Faster loading times if your server is faster than the server hosting the rss feed You keep a copy of the image if the rss is pulled or the image itself is pulled.