- An example of using http browsing caching with no client.
- The code was created from this video
- And uses the http server provided by Node.js.
In the terminal:
- clone this repo
git clone [email protected]:jpvajda/no-client-example.git
- run:
node index.mjs
- then in browser: go to:
http://localhost:3000/
sets cache control to store for 10 seconds using an etag.
sets cache control to not store data.