I'm no pro with node so I can't tell for sure but it seems to me like this handles only:
Cache-Control: max-age=nnnn
What would be useful is to support s-maxage as well, as Cloudfront will listen to this parameter and hold a file longer in the cloudfront cache if you want it to.
This would look like:
Cache-Control: max-age=xxx,s-maxage=yyy
Nice tool and will be using it.
I'm no pro with node so I can't tell for sure but it seems to me like this handles only:
What would be useful is to support s-maxage as well, as Cloudfront will listen to this parameter and hold a file longer in the cloudfront cache if you want it to.
This would look like:
Nice tool and will be using it.