slms4redd / portal

SFMS web portal client improved
http://nfms4redd.org
1 stars 2 forks source link

Loading time too high #16

Open Damianofds opened 8 years ago

Damianofds commented 8 years ago

Someone tried the -Poptimize build profile to build the portal for the production usage? I did a quick test and seems it doesn't work very well but maybe I didn't use it in the proper way.

All the javascript code, except OpenLayers, is separate in several small files that are not cached client side, Bootstrap and jquery are not loaded from a CDN. I hope to find the time to investigate more soon.

BTW since we work with many countries around the world we should consider in the future to serve all our static content through a CDN (like a cloudflare free plan)

Damianofds commented 8 years ago

As decided @sgiaccio will try to fix this issue after this https://github.com/slms4redd/portal/issues/17 other issue is solved... The Focus is first on the compression of the javascript files minimizing the requests... then we can pheraps try to move the static stuff on a CDN