hiposfer / kamal

A routing engine service using Open Street Maps and GTFS as data source
GNU Lesser General Public License v3.0
11 stars 1 forks source link

consider adding ETag headers to server responses #174

Open carocad opened 6 years ago

carocad commented 6 years ago

See comments below

carocad commented 6 years ago

https://devcenter.heroku.com/articles/increasing-application-performance-with-http-cache-headers

carocad commented 6 years ago

food for thought: maybe we can use the URL together with the entity transaction time to generate an ETAG to avoid further requests

carocad commented 6 years ago

note: the json middleware could be use together with the etag middleware to provide the caching mechanism

related middleware