Cache Control


Aggressive Caching 1 Cache-Control: public, max-age=604800, immutable public - allows the content to be stored by any cache max-age=604800 - allows content to be cached for 7 days from the time the content was requested immutable - indicates the content will not chage over time Aggressive Cache Prevention 1 Cache-Control: no-store, max-age=0 no-store - prevents the response from being stored in any cache max-age=0 - causes clients to clear existing cache-responses and forces re-validation Directives no-cache vs no-store There is a lot of confusion around no-cache and no-store.