andersao / andersao/l5-repository
Configuring cache per criteria based on specific tables & operations
オープン
- 主要言語
- PHP
- スター
- 4.2k
- フォーク
- 880
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi everyone,
I was wondering if it's to possible to configure a criteria's cache by specifying when to clear it based on tables and operations, something like:
$config = [
['table' => 'jobs', 'operations' => ['create', 'update']],
['table' => 'freelancers', 'operations' => ['create', 'update']]
]
So now the cache of a criteria will only be cleared if there are operations on these two tables. What you guys think of this?
コントリビューションガイド
評価
この issue はまだ評価されていません。