Loading comment and answer controls using ajax

2.36K viewsIssuescaching
0

I have a HTML cache installed on the website. If a non logged in user visits a question and it is not in the cache, the controls for “register or login” are at the bottom of the question page and this gets added to cache. If a logged in user visits the page, they see the same controls to register even though they are logged in. Is there a better way to load these dynamic controls so that a caching plugin will still function correctly?

Asked question