#121: Asynchronous loading of content views
The Edit/Properties/Sharing tabs are used a lot when editing content, unfortunately they are a bit slow to use in practice. We can speed this up and reduce CPU usage by doing it with AJAX.
- Proposed by
- Alexander Limi
- Seconded by
- Martin Aspeli
- Proposal type
- User interface
- State
- completed
Motivation
By loading the content of the Edit/Properties/Sharing screens using AJAX, we can minimize the time it takes to switch between them, and also reduce the server load Plone causes when navigating the editing interface.
Assumptions
- It's very easy that this gets out of hand, which is why this PLIP is so specific. We need to attack specific quick wins with as little overhead as possible, and not involve any JS frameworks that do more than the absolute minimum.
Proposal
We propose to make it possible to click on any of the content view tabs while only reloading the content part of the page.
The tab should be selected, and everything should look and work as it normally does - but with faster access to the views since only the content pane is loaded.
Risks
- We need to make sure it works perfectly even with JS turned off (shouldn't be too hard, though - just overload the links)
- It needs to be tested with any sort of view template from third-party products
- This will destroy bookmarkability for specific editing views, which something we're prepared to give up. You shouldn't bookmark an editing view anyway. :]
Progress log
Bling currently has an implementation of this.
Giving up bookmarkability?