cloudfleet / blimp-cockpit

The Dashboard and User Management Interface for CloudFleet Blimps.
GNU Affero General Public License v3.0
2 stars 0 forks source link

Cockpit slow #1

Open metakermit opened 8 years ago

metakermit commented 8 years ago

Caching & compression not enabled for static files on blimp-cockpit.

To explore:

metakermit commented 8 years ago

Added changes in the cockpit-improvements branch that make the Chrome Pagespeed tests for compression and cache expiry pass. Tested inside local containers on my laptop. Still need to test this on a real Blimp.

metakermit commented 8 years ago

Finally! After fixing https://github.com/cloudfleet/blimp-nginx/issues/2, I managed to get a nice, clean, compressed & cached load of the cockpit.

There is still room for improvement, pagespeed reports a couple of extra warnings (the browser caching warning is mentioning the small musterroll requests only – the big scripts, vendor etc. files have correct cache headers), but we can solve these later when we analyse the network timeline in depth: screenshot 2015-12-22 17 22 27

Still left in the TODO is to check if disabling the debug/development mode in Mailpile makes it sets cache headers on vendor js/css files.

m8p commented 8 years ago

Congratulations!

Sent from my Samsung device

-------- Original message -------- From: Dražen Lučanin notifications@github.com Date: 2015/12/22 17:52 (GMT+01:00) To: cloudfleet/blimp-cockpit blimp-cockpit@noreply.github.com Subject: Re: [blimp-cockpit] Cockpit slow (#1)

Finally! After fixing cloudfleet/blimp-nginx#2https://github.com/cloudfleet/blimp-nginx/issues/2, I managed to get a nice, clean, compressed & cached load of the cockpit.

There is still room for improvement, pagespeed reports a couple of extra warnings (the browser caching warning is mentioning the small musterroll requests only – the big scripts, vendor etc. files have correct cache headers), but we can solve these later when we analyse the network timeline in depth: [screenshot 2015-12-22 17 22 27]https://cloud.githubusercontent.com/assets/1818628/11960365/9aa3ad02-a8d2-11e5-98f3-57600865e3fc.png

Still left in the TODO is to check if disabling the debug/development mode in Mailpile makes it sets cache headers on vendor js/css files.

— Reply to this email directly or view it on GitHubhttps://github.com/cloudfleet/blimp-cockpit/issues/1#issuecomment-166671901.