order of operations

Guillaume Quintard guillaume at varnish-software.com
Wed Mar 22 15:07:47 CET 2017


4.0 -> 4.1/5.0/5.1 should be just a matter of upgrading the packages, the
VCL shouldn't break (too much).

Varnish doesn't need to be compatible with Drupal, only with HTTP :-)

-- 
Guillaume Quintard

On Wed, Mar 22, 2017 at 3:02 PM, Rodney Bizzell <rbizzell at measinc.com>
wrote:

> Okay thanks appreciated sorry that I wasn’t clear. Do you know if 5.0 is
> compatible with Drupal 8 yet. I know you suggested that I upgrade from 4.0
> to 4.1 or 5.1 what about 5.0
>
>
>
> *From:* Guillaume Quintard [mailto:guillaume at varnish-software.com]
> *Sent:* Wednesday, March 22, 2017 10:00 AM
>
> *To:* Rodney Bizzell <rbizzell at measinc.com>
> *Cc:* varnish-misc at varnish-cache.org
> *Subject:* Re: order of operations
>
>
>
> Ah, then yes, you can put it nearly anywhere you want.
>
>
>
> the vcl_* subroutines are callbacks, called by varnish, it doesn't matter
> where they are declared.
>
>
>
> However, know that routines with the same names are concatenated (
> http://www.varnish-cache.org/docs/4.0/reference/vcl.html#
> multiple-subroutines)
>
>
> --
>
> Guillaume Quintard
>
>
>
> On Wed, Mar 22, 2017 at 2:45 PM, Rodney Bizzell <rbizzell at measinc.com>
> wrote:
>
> Can you put vcl_init  anywhere in the config file or any other
> subroutine?  Does it look at that file first then goes to vcl_recv and then
> goes to vcl_pass vcl_hit etc etc? I have a small simple config and  I
> wanted to add a little at a time.
>
>
>
> *From:* Guillaume Quintard [mailto:guillaume at varnish-software.com]
> *Sent:* Wednesday, March 22, 2017 4:39 AM
> *To:* Rodney Bizzell <rbizzell at measinc.com>
> *Cc:* varnish-misc at varnish-cache.org
> *Subject:* Re: order of operations
>
>
>
> Hi Rodney,
>
>
>
> I'm really unsure about what you mean. A minimal VCL is in my opinion the
> best way to start, ie. just use the default vcl provided by your package
> and build on that.
>
>
>
> Also, 4.0 is old, try using 4.1, or even 5.1 when it's packaged.
>
>
> --
>
> Guillaume Quintard
>
>
>
> On Tue, Mar 21, 2017 at 9:14 PM, Rodney Bizzell <rbizzell at measinc.com>
> wrote:
>
> Hello,
>
> I just wanted to know what is the recommendations for order of operations.
> Is using the 4.0 config from github a good model to follow
>
>
>
> This email (including any attachments) may contain confidential
> information intended solely for acknowledged recipients. If you think you
> have received this information in error, please reply to the sender and
> delete all copies from your system. Please note that unauthorized use,
> disclosure, or further distribution of this information is prohibited by
> the sender. Note also that we may monitor email directed to or originating
> from our network. Thank you for your consideration and assistance. |
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170322/eeb2057a/attachment-0001.html>


More information about the varnish-misc mailing list