JFrog Interview Question

Design a simple web application with DB and improve it by caching.