how to do caching of application pages like javascript, CSS, HTML, typescript, etc for an angular/java application running as a jar file in a container using either Nginx/Hapro