outl1ne / nova-settings

A Laravel Nova tool for editing custom settings using native Nova fields.
MIT License
274 stars 96 forks source link

Ability to change Model / Cache Values #23

Closed mstaack closed 4 years ago

mstaack commented 4 years ago

Using this on highly used routes adds a db query of course.

Have you thought about adding a caching layer? Which gets flushed on update?

Or adding a configurable Model Class to the config.php would help

Cheers max

Tarpsvo commented 4 years ago

2.5.1 was released with the option to override the Settings model. Does that help you out?

mstaack commented 4 years ago

thanks for the changes!

works brilliant with https://github.com/renoki-co/laravel-eloquent-query-cache

cheers max