Closed foutoucour closed 9 years ago
The homepage is really too slow to be loaded.
The slowness comes from the algorithm in https://github.com/cgstudiomap/cgstudiomap/blob/develop/main/local_modules/frontend/controllers/main.py
At each loading, the number of company by country is computed. It should be cached to avoid that.
To solve the slowness:
fixed by #98
drop the loading time from 11secs to 2.5ecs
The homepage is really too slow to be loaded.
The slowness comes from the algorithm in https://github.com/cgstudiomap/cgstudiomap/blob/develop/main/local_modules/frontend/controllers/main.py
At each loading, the number of company by country is computed. It should be cached to avoid that.
To solve the slowness: