Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache Behavior fix and user experience enhancements #23

Closed
wants to merge 4 commits into from

Conversation

shushry
Copy link

@shushry shushry commented Apr 12, 2019

A few updates in this PR:

  1. Fix to update "cache_behavior" to "ordered_cache_behavior" to match AWS deprecated terminology here. Functionally this is the same just a rename

  2. Setting of default_root_object to an empty string by default, instead of "index.html". Setting this to index.html will break expected behavior from some CMS frameworks and it's not always entirely obvious where the breakage is occurring. A good example is WordPress - if the default document requested is index.html, WordPress will 404 on the home page. Let the end user decide how to use this.

  3. Exposed the "force_destroy" option of the logs module, used inside this module, to the end user. Otherwise, out-of-the-box this module will create a Cloudfront distribution, but you can't destroy it through any means without first cleaning up the S3 log bucket. This might be desired behavior by some, but at least exposing the option, since we support it in the logs module already, is useful.

@aknysh
Copy link
Member

aknysh commented Apr 12, 2019

@shushry thanks, please rebase

@aknysh
Copy link
Member

aknysh commented Apr 29, 2019

@shushry ping!, please rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants