1
0
mirror of https://github.com/mrclay/minify.git synced 2025-08-12 00:54:35 +02:00

Resolved issue 37: replaced 'setExpires' with 'maxAge' option which allows both Expires headers and conditional GETs (if a page should be reloaded in IE, e.g.)

This commit is contained in:
Steve Clay
2008-07-22 23:39:12 +00:00
parent 3ddc831f20
commit 2a41ee92c1
3 changed files with 47 additions and 44 deletions

View File

@@ -45,7 +45,7 @@ abstract class Minify_Controller_Base {
,'encodeLevel' => 9
,'minifierOptions' => array() // no minifier options
,'contentTypeCharset' => 'UTF-8'
,'setExpires' => null // use conditional GET
,'maxAge' => null // no Expires/max-age
,'quiet' => false // serve() will send headers and output
,'debug' => false