Hi! I have pretty big website so it need cache badly. Also there is my own implementation of commenting system based on DataBound form present. The problem is if the cache is on(and it is on) visitors are getting security token invalidation message when they submit the commenting form. I've gone through forums and didn't find if there is sort of partial cache(if there is - that would be great). I see several options here, but need some information.
Option 1:
Change config file so the cache stays there before the tokens expire(<= 24h, I guess). My question is if those tokens would be valid for all users. As it is only one cached token. Will everyone will be able to send comments? Also this option makes cache system partially useless as there are lots of pages and there will be no cache most of the time(24h is not enough).
Option 2:
The "no_cache" tag. As I understand it will turn off the caching of the pages with comments. Those pages are the main part of a website. So it is very bad idea. I really need them to be cached.
Option 3:
Looking through the couch's source codes, native commenting system particularly, I can see several arguments there: add_security_token = '0' and _invalidate_cache='1'(file: comment_form.html). The second one, I assume, provides the ability for the comments to show up right away(?). It is not needed for me as my commenting system has pre moderation. But the first one seems to be the one that can lead me to solution(?).
Option 4:
Something else?
Thank you in advance!
Option 1:
Change config file so the cache stays there before the tokens expire(<= 24h, I guess). My question is if those tokens would be valid for all users. As it is only one cached token. Will everyone will be able to send comments? Also this option makes cache system partially useless as there are lots of pages and there will be no cache most of the time(24h is not enough).
Option 2:
The "no_cache" tag. As I understand it will turn off the caching of the pages with comments. Those pages are the main part of a website. So it is very bad idea. I really need them to be cached.
Option 3:
Looking through the couch's source codes, native commenting system particularly, I can see several arguments there: add_security_token = '0' and _invalidate_cache='1'(file: comment_form.html). The second one, I assume, provides the ability for the comments to show up right away(?). It is not needed for me as my commenting system has pre moderation. But the first one seems to be the one that can lead me to solution(?).
Option 4:
Something else?

Thank you in advance!