← Back to team overview

dhis2-users team mailing list archive

server setup and caching

 

To all server administrators,

for next DHIS version, 2.11, we plan to implement a more flexible data
analysis engine which will perform more on-the-fly data aggregation. This
will incur heavier load on your servers. In that regard we strongly
recommend that you introduce a proxy cache in your server setup. This is a
very simple and effective way of taking pressure off the server.

We have documented a simple cache setup for nginx here. The idea is that
analysis related requests will be served over HTTP and cached by nginx -
this because encrypted requests cannot be read and understood by a proxy.
All other requests will be server over HTTPS as usual.

http://dhis2.org/doc/snapshot/en/implementer/html/ch08s02.html#d5e581

We strongly recommend that you implement this. Also remember to switch
caching on in "system settings" - "general settings" - "cache strategy".

best regards,

Lars