RE: Purging cached std.fileread() contents

2023-06-15 Thread Justin Lloyd
On Behalf Of Guillaume Quintard Sent: Thursday, June 15, 2023 10:52 AM To: Geoffrey Simmons Cc: varnish-misc@varnish-cache.org Subject: Re: Purging cached std.fileread() contents Piling on here, there's also one in rust! https://github.com/gquintard/vmod_fileserver On Thu, Jun 15, 2023, 19:44 Geoff

Re: Purging cached std.fileread() contents

2023-06-15 Thread Guillaume Quintard
Piling on here, there's also one in rust! https://github.com/gquintard/vmod_fileserver On Thu, Jun 15, 2023, 19:44 Geoff Simmons wrote: > On 6/15/23 18:57, Justin Lloyd wrote: > > > > The documentation for std.fileread() says it is cached indefinitely, so > > how do I get Varnish to re-read the

Re: Purging cached std.fileread() contents

2023-06-15 Thread Geoff Simmons
On 6/15/23 18:57, Justin Lloyd wrote: The documentation for std.fileread() says it is cached indefinitely, so how do I get Varnish to re-read the file when it gets updated without having to restart Varnish? "Cached indefinitely" means just what it says. The VMOD saves the file contents in

Purging cached std.fileread() contents

2023-06-15 Thread Justin Lloyd
I'm trying to test a simple Varnish setup with no backend to serve a single index.html file. This is for use on a maintenance page web server when the main web site is down, more specifically, behind an AWS ALB with two target groups, one with the main web servers and the other with two