iRail / hyperRail

The repo for the iRail.be webapp
https://iRail.be
Creative Commons Zero v1.0 Universal
47 stars 17 forks source link

Add cache headers for some important endpoints #288

Closed Bertware closed 6 years ago

Bertware commented 6 years ago

Add cache headers with max-age depending on how often the content changes #345

Cache headers with a max-age of 24h have been added for

Cache headers with a max-age of 30 seconds have been added for:

This PR will cause a minor reduction of server load, but will mostly improve the user experience for users visiting the website or searching for station names.

Bertware commented 6 years ago

This PR resolved #287