renoki-co / laravel-eloquent-query-cache

Adding cache on your Laravel Eloquent queries' results is now a breeze.
Apache License 2.0
1.04k stars 108 forks source link

Does using Laravel's paginate() method make it impossible to use the cache? #206

Closed autogestor closed 7 months ago

autogestor commented 7 months ago

Whenever I use Laravel's paginate() method, I notice that a new query is performed on the database even though I haven't made any changes to the query.

autogestor commented 7 months ago

My apologies! Analysis error on my part. I had set the cache for a very short period of time.