I currently implemented a fixed position edit button in the front-end when a user is logged in based on this " Get Entry Edit Link in Twig " Is there a version of this link, but to Clear Cache?


1 Answer 1


Please read this to get to know how to create a basic ajax request

And change the route to

action: 'utilities/clear-caches-perform-action',
caches: '*'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.