andersao / andersao/l5-repository

Configuring cache per criteria based on specific tables & operations

オープン
#344 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。