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
If you use the Psr16 adaptor and get() and item in a loop, and it expires, the value is never refreshed.
Expected behavior
As indicated in the help for useStaticItemCaching : Can be used for cron script that loop indefinitely on cache items to avoid calling detachAllItems()/detachItem($item) from the cache pool.
But detach is not available in the Psr16 adapator. shouldnt then get() try to refresh the item?
Code sample (optional)
No response
Suggestion to fix the issue (optional)
No response
References (optional)
No response
Do you have anything more you want to share? (optional)
No response
Have you searched in our Wiki before posting ?
I have searched over the Wiki
The text was updated successfully, but these errors were encountered:
What type of issue is this?
Incorrect/unexpected/unexplainable behavior
Operating system + version
Debian 12
PHP version
8.3
Connector/Database version (if applicable)
Redis
Phpfastcache version
9.2.0 ✅
Describe the issue you're facing
If you use the Psr16 adaptor and get() and item in a loop, and it expires, the value is never refreshed.
Expected behavior
As indicated in the help for useStaticItemCaching : Can be used for cron script that loop indefinitely on cache items to avoid calling detachAllItems()/detachItem($item) from the cache pool.
But detach is not available in the Psr16 adapator. shouldnt then get() try to refresh the item?
Code sample (optional)
No response
Suggestion to fix the issue (optional)
No response
References (optional)
No response
Do you have anything more you want to share? (optional)
No response
Have you searched in our Wiki before posting ?
The text was updated successfully, but these errors were encountered: