Hey!
I have a kirby()->request()->is('post')
if statement in my controller. When requesting this page with POST, that works. However when refreshing the side (get request), still the is(‘post’) function is returning true. var_dump('Is post: '.kirby()->request()->is('post'));
returns 1.
I guess this could be a caching problem. Is there a way to refresh the cache after the POST request? Or does this issue have a different root?
Greetings,
Jonas