I have "Read further..." section on almost every couch-enabled page of my website with <cms:pages order="random" limit="4"> tag. I didn't realize for a very long time why the load of my site increased so drastically that I needed to upgrade from shared hosting to VPS.
Now it was time to do some maintenance and I noticed that CouchCMS doesn't use cache. It turned out it is a completely undocumented "feature", which disables caching for every page where order="random" is present. Well, I don't want or need that and it was very frustrating!
Caching is extremely important for pages to load faster, I don't want to ever disable it.
I've fixed it for myself by commenting out line 2564 (might differ in later versions, I have modded my CouchCMS, so I don't upgrade it otten).
The line is " $PAGE->no_cache=1;".
Now it was time to do some maintenance and I noticed that CouchCMS doesn't use cache. It turned out it is a completely undocumented "feature", which disables caching for every page where order="random" is present. Well, I don't want or need that and it was very frustrating!
Caching is extremely important for pages to load faster, I don't want to ever disable it.
I've fixed it for myself by commenting out line 2564 (might differ in later versions, I have modded my CouchCMS, so I don't upgrade it otten).
The line is " $PAGE->no_cache=1;".