sugarlabs/www

Slow load due to CDN

Closed this issue · 3 comments

quozl commented

Page load using Firefox in developer tools console mode shows some resources are not used from our server; this creates external dependencies and additional domain name resolution time.

I'm on it.

How about I include minified versions of the files like bootstrap.js and bootstrap.css alongside addressing the issue?

quozl commented

Thanks for your offer to minify. Our server offers gzip data compression, so it's not really necessary. For files that we don't ever change relative to upstream, minified is fine. We have a lot of difficulty handling pull request review for changes to airspace.css when it was minified, but we have diverged from upstream for that file. If you minify something now, review will be more costly because one of us will have to reproduce your minifying.