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

Clarify signed requests in the ESI renderer #6589

Merged
merged 1 commit into from
May 21, 2016
Merged

Conversation

wouterj
Copy link
Member

@wouterj wouterj commented May 21, 2016

I think this clarification makes things more clear to readers. It also explains why something might not work when people don't use the render_esi helper function.

.. caution::

The fragment listener only responds to signed requests. Requests are only
signed when using fragment renderer and the ``render_esi`` Twig function.
Copy link
Member

Choose a reason for hiding this comment

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

[...] using the fragment [...]

Copy link
Member

Choose a reason for hiding this comment

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

By the way, this applies to all renderers extending the AbstractSurrogateFragmentRenderer.

Copy link
Member Author

@wouterj wouterj May 21, 2016

Choose a reason for hiding this comment

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

Yeah, but as this section is about ESI specifically, I only mentioned render_esi to not make things more complex.

Btw, fixed your other comment.

@xabbuh
Copy link
Member

xabbuh commented May 21, 2016

👍

1 similar comment
@javiereguiluz
Copy link
Member

👍

@wouterj wouterj merged commit 7bad395 into symfony:2.3 May 21, 2016
wouterj added a commit that referenced this pull request May 21, 2016
This PR was merged into the 2.3 branch.

Discussion
----------

Clarify signed requests in the ESI renderer

I think this clarification makes things more clear to readers. It also explains why something might not work when people don't use the `render_esi` helper function.

Commits
-------

7bad395 Clarify signed requests in the ESI renderer
@wouterj wouterj deleted the improve_esi branch May 21, 2016 17:56
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.

3 participants