Closed jaxwilko closed 3 weeks ago
This PR relies upon the new method added in https://github.com/wintercms/winter/pull/192.
It simply switches the call to listInTheme to listInThemeArray which only returns the required data instead of a collection of page objects.
listInTheme
listInThemeArray
The results of my tests (1000 pages used):
The required PR was abandoned, feel free to ping if further work will be done on this approach.
This PR relies upon the new method added in https://github.com/wintercms/winter/pull/192.
It simply switches the call to
listInTheme
tolistInThemeArray
which only returns the required data instead of a collection of page objects.The results of my tests (1000 pages used):![Results](https://user-images.githubusercontent.com/31214002/120837633-d836cd80-c55e-11eb-8ed1-963defc7137b.png)