Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
f93c6faa
Commit
f93c6faa
authored
Mar 29, 2012
by
Per Buer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kill warnings. fix a ref
parent
56cfc908
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
+6
-2
cookies.rst
doc/sphinx/tutorial/cookies.rst
+1
-1
devicedetection.rst
doc/sphinx/tutorial/devicedetection.rst
+5
-0
vcl.rst
doc/sphinx/tutorial/vcl.rst
+0
-1
No files found.
doc/sphinx/tutorial/cookies.rst
View file @
f93c6faa
...
...
@@ -89,6 +89,6 @@ Cookies coming from the backend
If your backend server sets a cookie using the Set-Cookie header
Varnish will not cache the page. A hit-for-pass object (see
:ref:`tutorial
_
vcl_fetch_actions`) is created. So, if the backend
:ref:`tutorial
-
vcl_fetch_actions`) is created. So, if the backend
server acts silly and sets unwanted cookies just unset the Set-Cookie
header and all should be fine.
doc/sphinx/tutorial/devicedetection.rst
View file @
f93c6faa
...
...
@@ -61,6 +61,7 @@ is dependant on this header.
Everything works out of the box from Varnish' perspective.
.. 071-example1-start
VCL::
sub vcl_recv {
...
...
@@ -95,6 +96,7 @@ VCL::
set resp.http.Vary = regsub(resp.http.Vary, "X-UA-Device", "User-Agent");
}
}
.. 071-example1-end
Example 2: Normalize the User-Agent string
...
...
@@ -118,6 +120,7 @@ A possible use for this is for CGI scripts where only a small set of predefined
headers are (by default) available for the script.
.. 072-example2-start
VCL::
sub vcl_recv {
...
...
@@ -158,6 +161,7 @@ The client itself does not see this classification, only the backend request
is changed.
.. 073-example3-start
VCL::
sub vcl_recv {
...
...
@@ -240,6 +244,7 @@ Redirecting mobile clients
If you want to redirect mobile clients you can use the following snippet.
.. 065-redir-mobile-start
VCL::
sub vcl_recv {
...
...
doc/sphinx/tutorial/vcl.rst
View file @
f93c6faa
...
...
@@ -51,7 +51,6 @@ headers from the backend.
.. _tutorial-vcl_fetch_actions:
actions
~~~~~~~
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment