Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
slash
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
slash
Commits
79ed0dab
Unverified
Commit
79ed0dab
authored
Nov 06, 2023
by
Nils Goroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Extend b62.vtc by cache reload
parent
6fff4eed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
fellow_b00062.vtc
src/vtc/fellow_b00062.vtc
+19
-0
No files found.
src/vtc/fellow_b00062.vtc
View file @
79ed0dab
...
...
@@ -17,6 +17,12 @@ server s1 {
rxreq
expect req.url == "/2"
txresp -body "x"
# IMS after restart
accept
rxreq
expect req.http.if-modified-since == "Wed, 11 Sep 2013 13:36:55 GMT"
txresp -status 304
} -start
varnish v1 \
...
...
@@ -28,6 +34,7 @@ varnish v1 \
import slash;
sub vcl_init {
slash.tune_fellow(storage.fellow, chunk_exponent=12);
slash.tune_fellow(storage.fellow, readahead=31);
}
sub vcl_backend_response {
set beresp.ttl = 1s;
...
...
@@ -78,3 +85,15 @@ client c4 {
expect resp.status == 200
expect resp.body == "x"
} -run
varnish v1 -stop
varnish v1 -start
client c1 {
txreq
rxresp
expect resp.status == 200
expect resp.bodylen == 1048576
} -run
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