I am facing a problem in part of page of an extension on comments When cache is enabled, there is some json token error due to cache When cache is disabled, the user can easily post in comment

Is there a way i can add up line of codes so that on body of page - when comments are loaded, cache is disabled , rest the whole page remains otherwise cached

You can use JotCache component for this problem solution.

  • am using jotcache, but how to disable part comment in it – Ruchika Jun 13 '17 at 14:07

You can exclude your comments extension from caching (see JotCache documentation).

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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