fastboot-app-server icon indicating copy to clipboard operation
fastboot-app-server copied to clipboard

Ability to control the cache control headers

Open simonexmachina opened this issue 9 years ago • 1 comments

I would like to set a last-modified or etag header based on the data that we load when rendering the app. Is this possible? How is the ETag header computed in the current implementation?

simonexmachina avatar Oct 13 '16 07:10 simonexmachina

I think you can just extend the express server yourself, and do it the same way as you would in any express app, according to the readme: https://github.com/ember-fastboot/fastboot-app-server#custom-http-server I'm still trying to figure it out myself though.

mcfiredrill avatar Nov 04 '19 06:11 mcfiredrill