From fa5e250595960e2597b2626aed08234db640c582 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Tue, 8 Aug 2017 18:30:59 -0400 Subject: [PATCH] fix history.html --- contrib/backends/srndv2/src/srnd/varnish_cache.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/backends/srndv2/src/srnd/varnish_cache.go b/contrib/backends/srndv2/src/srnd/varnish_cache.go index 91797b7..a57f420 100644 --- a/contrib/backends/srndv2/src/srnd/varnish_cache.go +++ b/contrib/backends/srndv2/src/srnd/varnish_cache.go @@ -66,6 +66,8 @@ func (self *VarnishCache) invalidateUkko() { self.invalidate(fmt.Sprintf("%s%so/", self.varnish_url, self.prefix)) // TODO: this is lazy af self.RegenFrontPage() + // TODO: this is also lazy af + self.invalidate(fmt.Sprintf("%s%shistory.html", self.varnish_url, self.prefix)) } func (self *VarnishCache) pollRegen() {