Domanda di colloquio di Amazon

Explain how browser caching works

Risposte di colloquio

Anonimo

20 set 2015

http request -> http response (directives contain info on what to cache, how long, etag). after initial cache, when request is made again after cache-control expiration, check for last updated info on the asset and either returns new value or cached value.

Anonimo

19 feb 2011

"not modified" http response sent by server when browser requests content it has in cache