Asking here before opening an issue on GitHub, in case that’s the intended behavior and I’m missing something…
I am setting a cached Files index like this:
// $files is a Files object kirby()->cache('my.plugin')->set('files.index', $files, 15);
When retrieving it later:
// $files is now an array $files = kirby()->cache('my.plugin')->get('files.index');
Do I have to make it a Files collection again because of some caching pitfall with collections ? Or is it a bug?