Enhancement - Identify remote images in filename
zeroby0 opened this issue · comments
Aravind Reddy V commented
Filenames of local images are hashes of their actual content. So websites can make browsers cache them forever.
But filenames of remote images are hashes of their URL. So they should not be cached - their content could change while their URL and filename remain the same.
If there is a way to identify remote images, websites can make browsers cache local images forever, and cache remote images for a limited duration.
I propose remote images be stored at /img/remote/{hash}.jpg
or /img/remote-{hash}.jpg
.