Bugzilla – Attachment 63695 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 - Add mod_expire to etc/koha-httpd.conf
Bug-12904---Add-modexpire-to-etckoha-httpdconf.patch (text/plain), 1.40 KB, created by
Kyle M Hall
on 2017-05-24 14:07:40 UTC
(
hide
)
Description:
Bug 12904 - Add mod_expire to etc/koha-httpd.conf
Filename:
MIME Type:
Creator:
Kyle M Hall
Created:
2017-05-24 14:07:40 UTC
Size:
1.40 KB
patch
obsolete
>From df26943c63a477ecf37f6740812b500d6c34cd8e Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Wed, 24 May 2017 09:34:17 -0400 >Subject: [PATCH] Bug 12904 - Add mod_expire to etc/koha-httpd.conf > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > etc/koha-httpd.conf | 16 ++++++++++++++++ > 1 file changed, 16 insertions(+) > >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index dd1d3fb..25e7182 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -129,6 +129,14 @@ > RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L] > </Directory> > </IfModule> >+ >+ <IfModule mod_expires.c> >+ ExpiresActive on >+ 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" >+ </IfModule> > </VirtualHost> > > ## Intranet >@@ -247,6 +255,14 @@ > RewriteRule ^(.*?)/.* $1/app.pl/api/$0 [L] > </Directory> > </IfModule> >+ >+ <IfModule mod_expires.c> >+ ExpiresActive on >+ 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" >+ </IfModule> > </VirtualHost> > > # Uncomment this VirtualHost to enable API access through >-- >2.1.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