Bugzilla – Attachment 33297 Details for
Bug 12904
Force browser to load new JavaScript and CSS files after upgrade
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12904 [Followup] - Increase CSS Cache Timeout
Bug-12904-Followup---Increase-CSS-Cache-Timeout.patch (text/plain), 1.10 KB, created by
Martin Renvoize
on 2014-11-06 09:39:55 UTC
(
hide
)
Description:
Bug 12904 [Followup] - Increase CSS Cache Timeout
Filename:
MIME Type:
Creator:
Martin Renvoize
Created:
2014-11-06 09:39:55 UTC
Size:
1.10 KB
patch
obsolete
>From cb761f9310c52ced496bf72aa363bd20fca8c911 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 6 Nov 2014 09:38:40 +0000 >Subject: [PATCH] Bug 12904 [Followup] - Increase CSS Cache Timeout > >With the addition of a method for explicetly forcing a cache refresh, we >should make the sue of much large cache times for such files. > >This patch increases the ache time for css files from 12 hours to >60 days. >--- > debian/templates/apache-shared.conf | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/templates/apache-shared.conf b/debian/templates/apache-shared.conf >index 67df419..7d7ff09 100644 >--- a/debian/templates/apache-shared.conf >+++ b/debian/templates/apache-shared.conf >@@ -58,7 +58,7 @@ SetEnv PERL5LIB "/usr/share/koha/lib" > > <IfModule mod_expires.c> > ExpiresActive on >- ExpiresByType text/css "access plus 12 hours" >+ ExpiresByType text/css "access plus 60 days" > ExpiresByType application/javascript "access plus 60 days" > ExpiresByType image/png "access plus 12 hours" > ExpiresByType image/gif "access plus 12 hours" >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 12904
:
31514
|
31547
|
33287
|
33288
|
33295
|
33296
|
33297
|
33315
|
33317
|
33318
|
33319
|
33320
|
33321
|
33323
|
33324
|
33325
|
33326
|
33327
|
33328
|
48735
|
48736
|
48737
|
48738
|
48739
|
48740
|
48741
|
48742
|
49572
|
54484
|
54485
|
54488
|
54489
|
58378
|
58379
|
58392
|
58393
|
58394
|
58395
|
60826
|
60827
|
60830
|
60831
|
63692
|
63693
|
63694
|
63695
|
63696
|
70830
|
70831
|
70832
|
70833
|
70834
|
70835
|
71250
|
71251
|
71252
|
71253
|
71254
|
71255
|
71822