[QUESTION]: responseCachePlugin sessionId and PUBLIC scope #8021
Unanswered
simplecommerce
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I had a question in regards to the sessionId option and the PUBLIC scope of queries being cached.
I noticed that the keyData being generated contains the sessionId.
This is fine for PRIVATE scope of queries, but in regards to PUBLIC scope of queries, I notice that it will cache individual public queries based on the sessionId. In my case, it shouldn't include the sessionId in the keyData since the queries aren't private and should return the same for any user.
I am unable to access the PRIVATE scope value in the sessionId to return a null value if its not PRIVATE.
I assume this behavior is normal, is there any reason for it?
Beta Was this translation helpful? Give feedback.
All reactions