Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Caching example

Example of passive caching strategy in tinyhttp using cache-manager.

Setup

tinyhttp new caching

Run

node index.js

Endpoints

  • GET /weather/search?city=NewYork - Get Weather information for a city. Notice the elapsed time (ms) in the response body after the first request.