Bugzilla – Attachment 60831 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.44 KB, created by
Olli-Antti Kivilahti
on 2017-03-06 10:33:44 UTC
(
hide
)
Description:
Bug 12904 - Add mod_expire to etc/koha-httpd.conf
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2017-03-06 10:33:44 UTC
Size:
1.44 KB
patch
obsolete
>From bc7e7404ea49420b08db54f1776e08d89f910b47 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Wed, 28 Dec 2016 18:02:08 +0200 >Subject: [PATCH] Bug 12904 - Add mod_expire to etc/koha-httpd.conf > >Has a positive effect on page loads for crazy dev-installs as well. >--- > etc/koha-httpd.conf | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/etc/koha-httpd.conf b/etc/koha-httpd.conf >index ca42f32..3851f5a 100644 >--- a/etc/koha-httpd.conf >+++ b/etc/koha-httpd.conf >@@ -157,6 +157,14 @@ > ProxyPassReverse /api "unix:/var/run/koha/plack.sock|http://localhost/api" > > </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 >@@ -314,6 +322,13 @@ > ProxyPassReverse /api "unix:/var/run/koha/plack.sock|http://localhost/api" > > </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.7.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