I need to disable the CSRF token.json call in every page load. In developer console, network tab token.json is getting generated which needs to be stopped. Please find the below screenshot for the same:
I have tried making changes in dispatcher.any by changing "allow" to "deny"
It is not a recommendation to remove the token.json call as this token.json call is used to prevent CSRF attacks and removing this would lead to a major security risk. Please refer to the documentation at .
If you still want to remove the call, you need to remove all dependencies to "granite.jquery" in the code.