in Technology by (1.9m points)

What are the best practices for caching in RESTful?

1 Answer

0 votes
by (1.9m points)
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.