LocalData / localdata-tiles

A tileserver for LocalData
5 stars 2 forks source link

Support Cache-Control request header #93

Open prashtx opened 10 years ago

prashtx commented 10 years ago

If a client uses the Cache-Control: no-cache header in the request, then we should skip the cache and render the tile fresh. We can store the freshly-generated tile in the cache for later use.

This could be useful in real life and for operations/debugging. It would also let us more easily test performance of uncached tiles without having to actually disable the cache. Since we would still store the rendered image/grid on S3, the app load would be more realistic, too.