Open gvocale opened 8 years ago
Since installing Kirby 2.3, when I create or save a page in the panel, the progress bar moves slowly and finally freezes around 90%.
If, In my config.php I use an empty panel.page.update hook and the AutoID plugin, the panel is slow.
If I remove the empty hook from config.php, the panel returns to be snappy.
If I leave the empty hook and remove the AutoID plugin, the panel returns to be snappy.
The empty hook in config.php looks like this:
kirby()->hook('panel.page.update', function($page) {});
Naturally I am using the hook for other functions and not just keeping it empty, but the fact a panel.page.update hook is present in my config.php is enough to slow down the panel.
autoid calls site()->pages()->index() and thus is slowing down the more pages you have.
site()->pages()->index()
Since installing Kirby 2.3, when I create or save a page in the panel, the progress bar moves slowly and finally freezes around 90%.
If, In my config.php I use an empty panel.page.update hook and the AutoID plugin, the panel is slow.
If I remove the empty hook from config.php, the panel returns to be snappy.
If I leave the empty hook and remove the AutoID plugin, the panel returns to be snappy.
The empty hook in config.php looks like this:
kirby()->hook('panel.page.update', function($page) {});
Naturally I am using the hook for other functions and not just keeping it empty, but the fact a panel.page.update hook is present in my config.php is enough to slow down the panel.