Replacer is not working when response is not cached #347
Unanswered
daffamumtaz2361
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Hello I'm using the package and it's working. But I can't even see the Replacer codes in my version: I'm using |
Beta Was this translation helpful? Give feedback.
0 replies
-
Seems like I'm gonna have to fetch a new CSFR Token at each page load and set it to header and all inputs that uses it |
Beta Was this translation helpful? Give feedback.
0 replies
-
Any new solution please? I have same problem |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Now I know this has been reported before at #262, but I feel like I need to bring this up again.
I think this library should run
prepareResponseToCache
if the cache doesn't exists and store the response in cache, but then it should runreplaceInCachedResponse
and send the response. This way the placeholder will never be sent.Also the replacer documentation is outdated, it should've been
prepareResponseToCache
instead oftransformInitialResponse
.Or is that method actually valid?
Beta Was this translation helpful? Give feedback.
All reactions