Hi,

My server does not support Varnish 4, therefor I'm wondering if Varnish purger support already Varnish 5 or Varnish 6, as I did not came around any tutorial nor VCL sample for these versions.

If it is not yet the case, please let me know about your plans.

Comments

sahaj created an issue. See original summary.

MiSc’s picture

The varnish purge module supports any version of Varnish - and the example VCL should work in version 5 or 6 also.

sahaj’s picture

@MiSc Thanks for your answer.

I got confuse because in https://www.varnish-software.com/wiki/content/tutorials/drupal/index.html is stated that:

Please note that Drupal 8 supports;
varnish 3 and varnish 4.

Maybe it would be a good idea to mention the supported Varnish versions somewhere, or to ask people from Varnish Software to correct their statement?

sahaj’s picture

Also one more newbie question: does this module replace 'Generic HTTP Purger' (https://www.drupal.org/project/purge_purger_http) ?

MiSc’s picture

Generic HTTP purger works also for simple use, but this module is dedicated to varnish only.

sahaj’s picture

Thank @MiSc, maybe one last newbie or stupid question before closing this issue: as I have also some Drupal 7 website running on the same server, what will happen between Vanish 5 and these Drupal 7 sites, as the Drupal Varnish module (https://www.drupal.org/project/varnish) does not support Varnish 5?

Just nothing?
Is there an alternative solution to benefit from Varnish 5 for both D8 and D7 websites on the same server?
Would it make more sense to package my different sites with something like Docker?

Any hints would be helpful.

sahaj’s picture

Category: Feature request » Support request
paulvandenburg’s picture

I support the idea in #3 to mention the supported Varnish versions, perhaps in the module description of the d.o page.

MiSc’s picture

Varnish versions has nothing to do with this module - all that is sent to varnish is a BAN with the configured invalidation - so I will say that Varnish from 4 and up is supported - it all depends on your VCL.

MiSc’s picture

Status: Active » Closed (works as designed)

Now stated on Porject page that any version of Varnish, that supports BAN could be used with this module.