Varnish-cache installation configuration and experience notes

Source: Internet
Author: User
Tags varnish
Varnish-cache installation configuration and experience notes mainly understand vcl status, vcl-recv and vcl-fetch are basically enough. vcl-recv can be used to specify which backend can be used to set the pass rule. vcl-fetch mainly handles cache rules and sets the backend... varnish-cache installation configuration and experience notes mainly understand vcl status, vcl-recv and vcl-fetch are basically enough. vcl-recv generally specifies which backend can be used to set the pass rule. vcl-fetch mainly handles cache rules and sets the cache time beresp. ttl 1. command for manual cache cleaning (version 3.0 is different from the previous one): sudo varnishadm-T localhost: 1234 ban. url. * $-S/etc/varnish/secret2.acl only applies to ip addresses 3. if nothing to repeat is prompted Error code 106 generally means that the regular expression is wrong. 4. if the message "unkown request error code 101" is displayed, the command is incorrect (ban replaces the original purge. req. the url does not contain the domain name, and the domain name is req. http. host6. clear the specified page cache varnishadm-T 127.0.0.1: 2000 ban "req. http. host ~ Www.domain.com $ & req. url ~ /1.html "add another
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.