zanderwar

Have added GridFieldPaginator as component

zanderwar

Any idea why pagination wouldn't be actually navigating to the next page and just stays at page 1?

Using GridFieldConfig_RecordViewer as config for a GridField within a ModelAdmin

kinglozzer

It only has to read from the filesystem once for each class, but still

kinglozzer

Yup 😕 just looking in the cache dir, each class is its own cache file

kinglozzer

@silbinarywolf Yeah I mean when fetching the values on the live site, it has to do loads of file reads to read them out of the cache

zanderwar

@sminnee

> [User Error] ModelAdmin::init(): Invalid Model class

  1. private static $managed_models = [
  2. 'Zanderwar\Scraplands\Models\Player',
  3. 'Zanderwar\Scraplands\Models\Online'
  4. ];

Requires lead-slash >.< 😛

silbinarywolf

we know the reflection method is faster in the flush processes (because now its not doing anything!)

silbinarywolf

I think Unclecheese expressed worry that it slowed down the actual site

kinglozzer

The old system did a tonne of filesystem reads (IIRC each class was its own separate cache file), so that offsets it a bit too