Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Cache processed images by their source path #6269
OK, I checked. We currently cache by their target path:
/bundle/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_resize_q75_box.jpg bundle/sunset.jpg /nn/bundle/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_resize_q75_box.jpg bundle/sunset.jpg /fr/bundle/sunset_hu59e56ffff1bc1d8d122b1403d34e039f_90587_200x200_resize_q75_box.jpg bundle/sunset.jpg
This works, but it means that we do unneeded image processing and wastes disk space in multilingual setups.