PHP Image Compression & Caching A simple PHP class that compresses images on-the-fly to reduce load time and web-page resource management. Image Cache is a tiny PHP class that accepts a .png, .jpg, or .gif image then compresses, moves, and caches the image in the user's browser. It then returns the new source of the image to be printed in an image tag. By compressing and caching images, page load