-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Cookbook][Cache] Fix cookie example on Varnish cookbook #5605
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
Conversation
I have realized that the example which unsets unnecesary cookies it's wrong and mixes Varnish 3 and 4 syntax, so I've separate the current example in two, one for each version.
Fix configuration-block/code-block syntax
} | ||
} | ||
} | ||
.. code-block:: varnish4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the indentation should be 4 spaces, not 2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, thanks for commenting :)
Fix identation
looks good! older versions of the doc do not have this example so i guess the 2.7 branch is also the right one. |
@dbu Do you remember if there was a good reason not to put these examples into older branches? |
no idea. but 2.7 being the lts this seems good enough. afaik that whole
article was rewritten.
|
looks the same, yes. this PR can be closed. |
@xabbuh Yes, I've checked it and it's the same 😅 |
I have realized that the example which unsets unnecesary cookies it's wrong and mixes Varnish 3 and 4 syntax, so I've separate the current example in two, one for each version.