thedevdojo/voyager

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

Open

#3,396 创建于 2018年7月12日

在 GitHub 查看
 (14 评论) (0 反应) (0 负责人)PHP (11,817 star) (2,652 fork)batch import
help wanted

描述

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.

贡献者指南