Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add documentation to overwrite token widget block using esi #10867

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

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix typo in documentation of esi csrf token
  • Loading branch information
alexander-schranz authored Jan 12, 2019
commit 73c888d75019b2fe06d0664507a6c25fae62f5f6
6 changes: 3 additions & 3 deletions 6 http_cache/form_csrf_caching.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ How to Cache Most of the Page and still be able to Use CSRF Protection

To cache a page that contains a CSRF token, you can use more advanced caching
techniques like :doc:`ESI fragments </http_cache/esi>`, where you cache the full
page and embedding the form inside an ESI tag with no cache at all. When you
have your custom form theme you can do this by create a new token_widget block
and call render_esi there:
page and embedding the form or just the CSRF token inside an ESI tag with no
cache at all. When you have your custom form theme you can do this by create a
new token_widget block and call render_esi there:

.. code-block:: twig

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.