Closed dariuszor closed 8 years ago
@hajoeichler Hi, could you take a look? It's pretty urgent for merkur. Also: should I bump a version?
@onibox, @anas-aso, maybe you could have a look?
A general question. Doesn't it make sense to always set a cache header, even if not provided the tool defines the default value.
@hajoeichler yes, it makes sense. Which value should I use as a default? 30 days?
@dariuszor please see my inline comments
Btw, we are already using this tooling in many projects, so the behavior should not change for them (eg. no expiration header, images are not compressed etc) if not configured.
@svenmueller thanks for detailed infos! I will move configuration to yaml file, update comments/README and remove default values if were not configured.
Thx a lot :) :+1:
@svenmueller I've updated PR. I hope I didn't miss anything.
I removed one test from previous commit. I didn't feel it test anything, and it hadn't influence on coverage either.
headers = 'x-amz-acl': 'public-read'
was implemented before, so I left it to not change configuration of other project.
@dariuszor LGTM
@svenmueller Great, thanks! Could you merge? I don't have write access.
@butenkor could you have a look please?