IIRC, "hard" directives (Expires and cache-control: max-age) take effect before 
"soft" directives such as cache-control: no-cache (which actually means 
something like "validate before returning cached copy".
If a response is "fresh", the user agent will not make any request, and if you 
don't set Expires or Max-Age, browsers will pick a value based on 
who-knows-what.

So, make sure you have Expires or Max-Age set to an appropriate value before 
worrying about "soft" directives.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to