Tyron Madlener a écrit :
Resending to devlist...
On Mon, Aug 15, 2011 at 3:53 PM, Tyron Madlener tyronx@gmail.com wrote:
On Mon, Aug 15, 2011 at 11:19 AM, Michal Čihař michal@cihar.com wrote:
Hi
what I would like to see:
- improve page load speed, currently it takes quite long till tabs are
initialized
- Do you have any knowledge about js/config.js? It doesn't look like
it's needed on the status page at all. Maybe we could include this file only where it's needed.
- I could load the status variables on demand (when the user clicks
the tab), I guess that would be the next best speed improvement.
Apart from these two optimizations I'm not sure whether there's anything left to optimize that would result in big loading speed improvements. Well I could also load the query statistics on demand. But having almost every tab load on demand only shifts the loading time to a later point.
Also I'm not sure whether it's really necessary for the status page to load so quick. Each tab has some sort of refresh functionality so you never have to fully reload the page anyway.
- automatically start monitor when switching to monitor tab
I'm also not so sure about this. The Monitor adds some overhead to the mysql server as well as to your client browser, through the regular refreshes. Having it start automatically it will be more likely that people will have the monitor running without actually needing it.
No, because the person clicked "Monitor" and would see - the graphics changing - a "Pause monitor" link
Though, I do agree that showing an empty page instead isn't very nice either.