Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Background: at project load time for all layers a copy of the style is loaded and stored as a DOM document. This was implemented for broken layers to make it possible to store the style back to the project if a broken layer was kept in the project. Of course this is not needed nor useful in a server context. By introducing a new project load flag and using it in the server config (projects) cache we allow to skip the initial storage of styles for the server and cut the startup times of our test "monster" project (~1000 PG layers) from 26 seconds to 15. Before you ask: I chose to always store the original style with the idea that we might have been able to use the original style copy also to "restore" styles to their initial state. This was never implemented, so I guess we might be good to make the initial style copy selectively available for broken layers only in order to speed up project loading in the general case (desktop).
- Loading branch information
Showing
5 changed files
with
11 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters