4 Commits

Author SHA1 Message Date
76900b7657 Teach varnish purging code about xkey purges
It's just another  type of purge, so it's added as an extra option with
'K' as the key (as 'X' was already taken).
2018-07-06 15:32:14 +02:00
8306ebdf8e Fix function signatures of varnish sql funcs in dev env
This should be the same as are used in the prodiction. We don't use them
in a way that has any effect on this today, but in case we do in the
future.
2018-07-06 15:08:36 +02:00
33ed40343b Add support for varnish purging based on expressions
Previously we would only purge based on URLs, but some of the upcoming
new work requires arbitrary expression purging.

NOTE! Require the creation of the new SQL procecure in the database,
either from varnish.sql or varnish_local.sql depending on if it's prod
or dev.
2012-10-03 12:48:47 +02:00
a331c1f677 Add a varnish_purge() function to be used in local installs 2011-12-11 14:17:06 +01:00