peterportal-public-api
peterportal-public-api copied to clipboard
Reduce Server Initialization Time
Every time the the server has a cold start, the duration to initialize is around ~1.5 seconds. Try to reduce this amount, to less than 1 second. This will require identifying what part in the code takes the longest to initialize, and how to reduce it.
Possible Ideas:
- Loading the cached data into memory each time.
- Middleware that takes time to load