/http-get-cache-demo

A demo on the performance benefits from HTTP GET and Cache-Control

Primary LanguageTypeScript

http-get-cache-demo

A demo on the performance benefits from HTTP GET and Cache-Control.

It is a simple Client-Server setup. Simply follow the steps below to spin up the application to test things out!

Prerequisite:

  1. Install Node.js https://nodejs.org/en/

Server

Server folder contains a simple Node.js (Excpress) application.

  1. Run "npm install" to restore node_modules
  2. Change directory (cd) into the Server folder
  3. Run terminal command "node ." to spin up the server.

Client

Client folder contains a simple React application.

  1. Run "npm install" to restore node_modules
  2. Change directory (cd) into the Client folder
  3. Run "npm run start" to start the development server, serving the application.

**Please feel free to drop me a message if you are having any problem setting up. Peace!