You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Server consume bandwidth. It's not possible to host it smoothly on a DSL connection.
Even hosted properly, DSL clients have to wait ~3 seconds before login.
There is at least 2 ways to fix this issue:
Use CDN. For example, jquery cdn: https://code.jquery.com/ (minified and compressed version takes 39ko, in comparaison with the 287ko of the uncompressed, unminified embedded version)
Diacamma needs lots of static resources, mainly javascript libs.
To display login page, it's 1.5 Mo of uncompressed files that are downloaded by the browser :
https://tools.pingdom.com/#!/cKPuBO/http://syndic.diacamma.org/web/index.html
This implies two issues:
Server consume bandwidth. It's not possible to host it smoothly on a DSL connection.
Even hosted properly, DSL clients have to wait ~3 seconds before login.
There is at least 2 ways to fix this issue:
Use CDN. For example, jquery cdn: https://code.jquery.com/ (minified and compressed version takes 39ko, in comparaison with the 287ko of the uncompressed, unminified embedded version)
Enable django compressor: https://django-compressor.readthedocs.io/en/latest/
Some of the js libs are already minified but I think that compression will bring the load size to ~500ko.
The text was updated successfully, but these errors were encountered: