thedevdojo/voyager

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

Open

#3 396 ouverte le 12 juil. 2018

Voir sur GitHub
 (14 commentaires) (0 réactions) (0 assignés)PHP (11 817 stars) (2 652 forks)batch import
help wanted

Description

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.

Guide contributeur