You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.
Want to warn some users if they see something strange happening.
When performing multiple queries on the same repo, same request, the setCacheLifetime remains in effect even if not set.
Running another query on the same repo during the same request or script run, you might expect the above query to use the cache. However, it does not. Instead, the repo still sees the setCacheLifetime(0) and runs the query against the database. Since this package does not reset the cacheLifetime after each query, you have to do it manually by using setCacheLifetime(null) on the subsequent query.
The text was updated successfully, but these errors were encountered:
Want to warn some users if they see something strange happening.
When performing multiple queries on the same repo, same request, the setCacheLifetime remains in effect even if not set.
The above will set the $this->cacheLifetime to zero, thus not caching.
Running another query on the same repo during the same request or script run, you might expect the above query to use the cache. However, it does not. Instead, the repo still sees the setCacheLifetime(0) and runs the query against the database. Since this package does not reset the cacheLifetime after each query, you have to do it manually by using setCacheLifetime(null) on the subsequent query.
The text was updated successfully, but these errors were encountered: