I have an app which pulls in images uploaded to Twitter via the new photo update API. However images are not cached once loaded. Each request to an image returns a 200 OK header rather than a 304 Not Modified header.
Go to any image URL such as this one:
and check the developer console for network requests. If you reload the page it returns the file as 200 OK, which means the file is downloaded again rather than being returned from the user’s browser cache.
Can Twitter (or perhaps Photobucket) add 304 Not Modified to their headers for images so they can be cached please? Otherwise preloading images is not possible and displaying images in an app always requires a download, which is ugly, slow, and costs Twitter bandwidth!