What are the best practices for caching? Technology Community › Category: API Design › What are the best practices for caching? 0 Vote Up Vote Down VietMX Staff asked 4 years ago Always keep static contents like images, css, JavaScript cacheable, with expiration date of 2 to 3 days. Never keep expiry date too high. Dynamic contents should be cached for few hours only.