I am creating posts for my plugins to make it easier to find them using the forum search and not just the docs search.
Nitro speeds up content loading in your Kirby project by adding a JSON-based caching layer between the content TXT files and Kirby. The installation steps are minimal. You only need to create a custom model and use a trait to get started.
site/models/default.php
class DefaultPage extends \Kirby\Cms\Page
{
use \Bnomei\ModelWithNitro;
}
When should you use this plugin?
- You load more than 100 but less than 2000 models (pages/files/users) in a single request?
- You have less than 4000 models or 2 MB combined TXT files in your project?
- If you load less, you do not need performance plugins apart from a key-value caching helper.
- If you load more, you should consider Boost or Khulan instead.