nytimes / libvmod-queryfilter

Simple querystring filter/sort module for Varnish Cache v3-v6
http://open.blogs.nytimes.com/
Other
17 stars 2 forks source link

Does it work with Varnish 6? How to install it on Jelastic? #5

Closed MtDalPizzol closed 4 years ago

MtDalPizzol commented 5 years ago

I'm new to Varnish and I'm using it on Jelastic. I followed this tutorial to get things working, but there's little to none info on VMODs.

First of all: does this module work with Varnish 6?

It seems I need a libvmod_queryfilter.so file. So I need to SSH, clone it on the server and build it there? Or can I build it locally an then upload only the .so file to the server?

andrew-canaday commented 5 years ago

Hey @MtDalPizzol, sorry for the delayed response here.

The present master version of libvmod-queryfilter requires the common method of:

An example (for a different vmod) can be found here.

The 1.0-prerelease branch does allow you to build the VMOD without having to build varnish if you are able to install a varnish-dev or varnish-devel type package on your system.

Unfortunately, this effort got lost in the shuffle of other high priority work and fell by the wayside. I'll see if I can get some time allocated to wrap the release up and add support for 6, as well.

Hysterically, the unfinished v1.0 supports 3, 4, and 5 - but hasn't been updated for 6 (this doesn't mean it won't work - just that it hasn't been tested).

andrew-canaday commented 4 years ago

Version 1.0.0 now officially includes Varnish 6 support. Unfortunately, I can't provide any guidance regarding Jelastic.

Closing this out. Please feel free to open another if you run into issues with Varnish 6 compatibility/building.