~simeon-blanc/+junk/optimisation_2_merge

Viewing all changes in revision 3862.

  • Committer: simeon.blanc at msf
  • Date: 2016-08-05 15:15:12 UTC
  • Revision ID: simeon.blanc@geneva.msf.org-20160805151512-o8djsfgztsxzcgz9
Add a cache to fetch static data only once per user/DB

The cache can be used for every entity in Unifield. However, you should use it
 for data that is changed with SQL query without using the ORM.

This commit also turn on caching when we browse data in Unifield. This improvement has still to
 be investigated to ensure that it doesn't lead to MemoryError (this is why it was turned off in
 a previous commit)

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: