You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #25, it would be fantastic if ember-deploy-redis would also stash a checksum (or the commit SHA) and/or a build date/time (or the commit timestamp) of the index to use in the the ETag and Last-Modified HTTP headers. Something like:
Thanks for the suggestion @mwpastore. As you can see from the issue you referenced, this is something we've been thinking about. This will also require a change to the ember-cli-deploy/ember-cli-deploy-revision-data repo which is designed to retrieve all that sort of meta data info. Then it will be up to the redis plugin to upload it.
I suspect that it would be way above my skill level, after reviewing both components last night, but I will certainly give it a try. Thanks @achambers!
Duh, we can just use the revisionKey as the ETag, and the timestamp is already being delivered by
ember-cli-deploy-revision-data, so this should be easier than I thought...
Activity
achambers commentedon Oct 1, 2015
Thanks for the suggestion @mwpastore. As you can see from the issue you referenced, this is something we've been thinking about. This will also require a change to the ember-cli-deploy/ember-cli-deploy-revision-data repo which is designed to retrieve all that sort of meta data info. Then it will be up to the redis plugin to upload it.
Thanks for the suggestion, we'll look in to it.
As always, PR's are always welcome 👍
mwpastore commentedon Oct 1, 2015
I suspect that it would be way above my skill level, after reviewing both components last night, but I will certainly give it a try. Thanks @achambers!
mwpastore commentedon Oct 1, 2015
Duh, we can just use the
revisionKeyas the ETag, and thetimestampis already being delivered byember-cli-deploy-revision-data, so this should be easier than I thought...
achambers commentedon Oct 1, 2015
Perfect