From 4a9d0595e378f2c6401a2dad5c0a57bf39fa8380 Mon Sep 17 00:00:00 2001 From: Adrien Poupa Date: Wed, 14 Dec 2022 15:14:49 -0500 Subject: [PATCH] feat: Allow invalidation from manual invocation --- lib/Minify.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Minify.php b/lib/Minify.php index d0aafda..d8b7fac 100644 --- a/lib/Minify.php +++ b/lib/Minify.php @@ -118,6 +118,7 @@ class Minify 'quiet' => false, // serve() will send headers and output 'debug' => false, 'concatOnly' => false, + 'invalidate' => false, // if you override these, the response codes MUST be directly after // the first space. @@ -284,6 +285,7 @@ class Minify 'lastModifiedTime' => $this->options['lastModifiedTime'], 'isPublic' => $this->options['isPublic'], 'encoding' => $this->options['encodeMethod'], + 'invalidate' => $this->options['invalidate'], ); if ($this->options['maxAge'] > 0) {