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

Adding a new option to make adding the suffix to the include optional #2

Closed
wants to merge 2 commits into from
Closed

Conversation

jfmitchell
Copy link
Contributor

We had a use case where by we needed to make the include semi dynamic. We wanted the parent page that included suffixes to not be cacheable - but wanted the included resources to be cached. This was for a search results page, where it was necessary to cache the content of an individual search result - but not the actual results to display.

However, since the parent request had a suffix - this was passed onto the included resources, which made them non-cacheable. This "appendSuffix" option was added to maintain the current default behaviour, but allow it to be toggled off.

@rombert
Copy link
Contributor

rombert commented Jul 17, 2018

@jfmitchell - seems your PR has slipped, sorry about that. Can you please add a Jira issue so we can better track the issue and reference it in your commits?

You should probably also rebase your commits since they now conflict with the master branch.

Thanks!

@minioak
Copy link

minioak commented Oct 1, 2018

@rombert Sorry for the delay - rebased and Jira issue raised.

@rombert rombert closed this in 1e194d8 Oct 26, 2018
@rombert
Copy link
Contributor

rombert commented Oct 26, 2018

Thanks for the contribution @jfmitchell , I've just merged it.

klcodanr pushed a commit that referenced this pull request Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants