Caching issue with pivot table when editing program indicators

Hi,

I’m writing on behalf of some users who are reportedly having continual caching issues when editing program indicator calculations. Their edits do not end up being reflected on the pivot table.

They have tried running the cache cleaner and even re-running analytics, and trying on different computers, but apparently with no luck. Do you have any suggestions for them that I can pass on?

Thanks,

Lorill

Hi Lorill,

this could happen if you have a server-side cache (like nginx) enabled. Nginx will cache responses based on the analytics URLs, so updates the program indicator formula will not be detected.

Ways to fix this:

  • Disable the server side cache (if nginx uncomment the proxy_cache_path directive)

or

  • Disable analytics caching in dhis from Settings > Server > Cache strategy > No cache.

best regards,

Lars

···

On Wed, May 25, 2016 at 9:34 PM, Lorill Crees lcrees@2paths.com wrote:

Hi,

I’m writing on behalf of some users who are reportedly having continual caching issues when editing program indicator calculations. Their edits do not end up being reflected on the pivot table.

They have tried running the cache cleaner and even re-running analytics, and trying on different computers, but apparently with no luck. Do you have any suggestions for them that I can pass on?

Thanks,

Lorill


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org

Thanks Lars for the quick response, much appreciated!

···

On Wed, May 25, 2016 at 12:44 PM, Lars Helge Øverland lars@dhis2.org wrote:

Hi Lorill,

this could happen if you have a server-side cache (like nginx) enabled. Nginx will cache responses based on the analytics URLs, so updates the program indicator formula will not be detected.

Ways to fix this:

  • Disable the server side cache (if nginx uncomment the proxy_cache_path directive)

or

  • Disable analytics caching in dhis from Settings > Server > Cache strategy > No cache.

best regards,

Lars

On Wed, May 25, 2016 at 9:34 PM, Lorill Crees lcrees@2paths.com wrote:

Hi,

I’m writing on behalf of some users who are reportedly having continual caching issues when editing program indicator calculations. Their edits do not end up being reflected on the pivot table.

They have tried running the cache cleaner and even re-running analytics, and trying on different computers, but apparently with no luck. Do you have any suggestions for them that I can pass on?

Thanks,

Lorill


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

lars@dhis2.org

http://www.dhis2.org