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
299d2da0
Commit
299d2da0
authored
Jan 18, 2012
by
Cleber J Santos
Committed by
Tollef Fog Heen
Jan 19, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Force lookup of kss resources and fix cached creation of objects in Plone
parent
bbecdd22
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
zope-plone.vcl
etc/zope-plone.vcl
+6
-1
No files found.
etc/zope-plone.vcl
View file @
299d2da0
...
...
@@ -52,13 +52,18 @@ sub vcl_recv {
}
return(lookup);
}
# Do not cache the creation of objects in Plone
if (req.url ~ "createObject"){
return(pass);
}
}
# Don't cache authenticated requests
if (req.http.Cookie && req.http.Cookie ~ "__ac(|_(name|password|persistent))=") {
# Force lookup of specific urls unlikely to need protection
if (req.url ~ "\.(js|css)") {
if (req.url ~ "\.(js|css
|kss
)") {
remove req.http.cookie;
return(lookup);
}
...
...
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