nodejs_api_boilerplate icon indicating copy to clipboard operation
nodejs_api_boilerplate copied to clipboard

Support conditional GET requests

Open chrisbowley opened this issue 10 years ago • 2 comments

If resource has not been modified since a given date, return 304 Not Modified

chrisbowley avatar Jun 05 '14 14:06 chrisbowley

This in relation to the cache module? On Jun 5, 2014, at 10:56 AM, Chris Bowley [email protected] wrote:

If resource has not been modified since a given date, return 304 Not Modified

— Reply to this email directly or view it on GitHub.

rblalock avatar Jun 05 '14 15:06 rblalock

I guess so. That would mean you need to invalidate the cache when the model is updated..

... beginning to be less 'boilerplate' :)

chrisbowley avatar Jun 05 '14 15:06 chrisbowley