Closed Bug 549977 Opened 15 years ago Closed 15 years ago

Make minify cacheable

Categories

(support.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: oremj, Assigned: jsocol)

Details

Attachments

(1 file)

I've made this change in production: --- minify.conf.php.dist 2010-02-18 19:45:58.000000000 -0800 +++ minify.conf.php 2010-03-03 12:03:14.000000000 -0800 @@ -8,6 +8,7 @@ 'options' => $memcached_options ), 'minify' => array( + 'setExpires' => time() + 300, 'groups' => array( 'js_main' => array( Can this be made in the dist file as well? Thanks.
Notes from IRC: we use etags, but should have a setExpires set according to Jeremy to make Zeus happier.
Assignee: nobody → laura
Target Milestone: --- → 1.5.3
OS: Mac OS X → All
Hardware: x86 → All
Assignee: laura → nobody
Assignee: nobody → james
Just adds the line from above.
Attachment #432955 - Flags: review?(paulc)
Comment on attachment 432955 [details] [diff] [review] adds the line from Jeremy's diff WFM, this adds an Expires value in the response headers.
Attachment #432955 - Flags: review?(paulc) → review+
r64294 (trunk) / r64295 (fennec)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified FIXED; assets now have: Expires: Sat, 20 Mar 2010 01:39:26 GMT (Tested on both http://support-stage.mozilla.com and http://mobile-support-stage.mozilla.com/.)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: