Ryan Cramer
|
047ffb1c20
|
Add support for runtime page cache groups. This enables pages to be cached as a group, or more importantly, uncached as a group. It was added primarily to add efficiency to $pages->findMany(), so that it can cache supporting pages (like parents of pages returned by findMany). Previously, it would have to load a fresh copy of each supporting page used by findMany(), for every returned page, since findMany() used no in-memory caching, otherwise you could run out of memory on large results. So if you iterated a $pages->findMany() result and output the URL of each page (which loads parents), then it would have to reload all those parents for each iteration. Now it can cache them for each chunk of 250 pages, offering a significant potential performance improvement in many cases.
|
2022-04-14 08:11:19 -04:00 |
|
Ryan Cramer
|
25da592578
|
Additional updates for processwire/processwire-issues#1467
|
2022-01-24 11:07:10 -05:00 |
|
Ryan Cramer
|
aab97a0b00
|
Fix inadvertent debug mode memory leak issue when using $pages->findMany(), plus optimize PageTable for faster load when sortfield(s) are in use. Per @apeisa / Avoine.
|
2016-12-19 06:57:37 -05:00 |
|
Ryan Cramer
|
8d8d9dfe3d
|
Update the PageArrayIterator::$chunkSize setting to be configurable via $config->lazyPageChunkSize per @apeisa
|
2016-12-16 11:12:23 -05:00 |
|
Ryan Cramer
|
bac5b0de5d
|
Initial commit to new repo (carried over from: https://github.com/ryancramerdesign/ProcessWire/tree/devns)
|
2016-09-02 14:55:17 -04:00 |
|