Related issues, feature-requests and discussions are collected here 😃
after v1.0.5 has been released (waiting for a few issues to be resolved and cleaning up the develop branch) the next release v1.1.0 has to contain code for Twig extensions that introduces a DO_NOT_CACHE and WITH_CSRF definitions that should be respected.
this (finally) fixes #10 and #csrf-related issues
Related issues, feature-requests and discussions are collected here 😃
after
v1.0.5has been released (waiting for a few issues to be resolved and cleaning up thedevelopbranch) the next releasev1.1.0has to contain code for Twig extensions that introduces aDO_NOT_CACHEandWITH_CSRFdefinitions that should be respected.the
{% dontcache %}tag disables the cache for the entire page. there's some code in the currentdevelopbranch that could work, but i'd rather start over. it's a mess, as themainbranch is the leading branch....the
{% withcsrf %}tag uses the same technique as Craft (without loading Craft) and ensures the correct CSRF tokens are set in both cookies and sessions.this (finally) fixes #10 and #csrf-related issues