2

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

2 Answers 2

0

You can use JotCache component for this problem solution.

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

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

1
  • JSE is not a forum thread. The site design is has been deliberately developed to prevent a long flowing page of chronologically listed interactions. Please edit your earlier answer to include your message from this answer, then delete this second post. Your two posts do not contradict each other, so you can safely merge your advice into a single post as an edit on the original. Thank you in advance. Nov 16, 2019 at 23:05

Your Answer

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

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