sandy98 / node-simple-router

Yet another minimalistic router for node.js
node-simple-router.herokuapp.com
MIT License
36 stars 18 forks source link

asset caching? #11

Open bobrenjc93 opened 9 years ago

bobrenjc93 commented 9 years ago

can we get support for cache-control by default for assets in /public?

sandy98 commented 9 years ago

Thst's something I'd been considering lately, although I haven't made up my mind on: 1) Would that be really useful, considering NSR's main point is serving dynamic content? 2) I haven't made up my mind on which caching strategy would be the best. Ideas greatly welcome.

Anyway, I think we'll get to it if NSR's 'simple' part can be kept ;-)