Tuesday, January 5, 2016

RESTful Webservices - What are the best practices for caching?

Ref:- http://www.tutorialspoint.com/restful/restful_interview_questions.htm

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.

No comments:

Post a Comment