We have an java application with multiple instances running inside a docker instance (Multiple app instances can also run on multiple docker instances). Several clients when restarted hit our application (http calls) and fetch several images, most of these images are static. What will be the best approach to cache these images in order to reduce multiple disk operations.
PS – The application runs on Apache tomcat. Its kind of a POC. Is there solution around Apache httpd (don’t have much idea about it). Or will it be good if every instance has its own cache, Or creating a shared docker volume can be a solution?