How to do things
How to create a basic configuration
sub vcl_recv {
set req.backend_hint = cNNN_example.backend();
}sub vcl_recv {
if (req.http.host == "www.example.com") {
set req.backend_hint = cNNN_example.backend();
}
}sub vcl_backend_response {
if (bereq.http.host == "www.example.com") {
if (urlplus.get_extension() ~ "(?i)(jpg|jpeg|png|gif|css)") {
set beresp.http.Cache-Control = "max-age=86400";
set beresp.ttl = 86400s;
}
}
} How to assign a backend
How to cache all static content on my website
How to rewrite origin cache policies on my website
How to enable waf in detection mode
How to add WAF exceptions
How to disable WAF for a part of my website
How to enable I3 to transform images to webp and avif formats
How to enable Bot Mitigation
How to remove parameters from the query string
How to apply a rate limit
How to enable UAM (Under Attack Mode) from VCL
How to configure a website with authenticated origin in S3 (AWS)
How to enable midtier for a site
How to invalidate content from python
How to apply time restrictions
Last updated
Was this helpful?
