thedevdojo/voyager

"select * from `data_types`" query in every request.

オープン

#3,396 opened on 2018/07/12

 (14 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (2,652 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (11,817 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

I have a site with high traffic. I used voyager to manage contents. but I noticed that its running a single query more than millions of times. the query is select * from data_types

I only want to load voyager when the url only have /admin, otherwise not.

I've tried by removing TCG\Voyager\VoyagerServiceProvider::class from service provider but without that the voyager is still running.

Please suggest how can I solve the issue.

コントリビューターガイド