Skip to content

Option to serve stale content for a cached_include in case of errors.#1

Open
kazekent wants to merge 6 commits into
developfrom
serve-stale-bread
Open

Option to serve stale content for a cached_include in case of errors.#1
kazekent wants to merge 6 commits into
developfrom
serve-stale-bread

Conversation

@kazekent

Copy link
Copy Markdown
Contributor

TODO:

  • Possible to check if sub-templates have been served with cache? Want to avoid inadvertently storing bad results in long-term cache at higher level, but can't throw the exceptions up the stack.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

context.errors.empty? won't suffice if cached includes further down the chain has swallowed any errors...

@kazekent kazekent added the Ready label Sep 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants