×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Comments not showing when Joomla cache is on

Comments not showing when Joomla cache is on 10 years 6 months ago #26139

  • Jip Jonker
  • Jip Jonker's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi! When the Joomla cache is turned on the comments are not showing. The appear only when the cache is off. We would like to be able to use the Joomla cache and the comments as well. Is this a bug?

With 'cache' I mean the cache settings (conservative) in the system settings of the CMS. Not the Systeem - Cache plugin. The Systeem - Cache is turned off.

Joomla! 3.3.0 / CComment Core 5.0.7
PHP 5.3.28 / MySQL 5.5.36

Thanks!

Comments not showing when Joomla cache is on 10 years 6 months ago #26141

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081

Comments not showing when Joomla cache is on 10 years 6 months ago #26145

  • Jip Jonker
  • Jip Jonker's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi Daniel, thanks for the link. I checked this out, but I do use only conservative caching. Not progressive as mentioned in the 'known issue'. So also with conservative caching on the comments do not work.

Comments not showing when Joomla cache is on 10 years 6 months ago #26157

  • Jip Jonker
  • Jip Jonker's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 4
  • Thank you received: 0
Hi Daniel,
The problem was caused by Admin Tools Pro. I had to allow the comments component to access the cache folder. Now it works fine.
In the .htaccessmaker of Direct Admin:
Add '/cache/com_comment/' to the field 'Allow direct access, except .php files, to these directories'.

Comments not showing when Joomla cache is on 10 years 6 months ago #26159

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Jip,
I'm glad that you have figured this out, but please let me warn you. The joomla default cache is a mess.
It has a very basic usage - if you have a site that has only articles and you don't have any user interactions than you can use it. But in your case with comments - this is bullshit. When people login on your site, the cache is automatically turned off.
Also if you have cache, then google can't index the comments - as the page that is going to be served is the one with the ajax comments, and not the page that is made for indexing the comments: developers.google.com/webmasters/ajax-crawling/

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.142 seconds