-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Labels
Description
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.
-
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
klick and luke-nehemedia