ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Static resource caching on chiliproject.org and other installations (Feature #320)


Added by Raivo Laanemets at 2011-04-06 04:00 pm. Updated at 2011-04-08 02:33 pm.


Status:Open Start date:2011-04-06
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:User interface
Target version:-
Remote issue URL: Affected version:

Description

There are number of javascript, css and image files that every page uses. These resources could be effectively cached client-side which can considerably reduce the number of http requests required for showing a page. Javascript, css and image files would receive response 304 (Not Modified) but such requests still take time. Allowing these to cache on the client side improves usability because of the reduced page loading times.

I'm attaching relevant section of my installation's Apache configuration of vhost. I have also enabled compression for text data (html, js, css).

The issue was also discussed in #chiliproject, the log is here:
http://chat.chiliproject.org/log/out.pl?server=irc.freenode.net;channel=chiliproject;date=2011-02-15

For testing, HttpFox can be used, it shows all requests made by Firefox and the response results (200, 304, cached). I have enabled these optimizations on http://infdot.com/redmine and it also seems that http://redmine.org has also enabled similar caching.


apache.conf (525 Bytes) Raivo Laanemets, 2011-04-06 04:00 pm


History

Updated by Andy Bolstridge at 2011-04-08 02:33 pm

if this is just configuration of Apache, then it's not UI, it's a documentation issue - "how to install on Apache for best performance".

Also available in: Atom PDF