Skip to content

How is JavascriptServlet browser caching supposed to work? #57

Answered by forgedhallpass
bpapez asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @bpapez,

Starting from 4.x the master token is indeed sent with the initial JavaScript. The reason behind this was to reduce the number of requests needed for the initialization, and also this enabled me to require a token to retrieve the page tokens.

The solution is indeed to disable the cache, or maybe have some custom logic that would force cache revalidation at log-out or re-login. A simple CTRL+F5/R on the user side should also work.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by forgedhallpass
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants