- Fresh site, brand new joomla install, standard cassiopeia template.
- Only installed AA Pro and Reglabs Cache Cleaner
- Created one custom module and a bunch of articles, categories and tags.
- I tried with conservative file-based filtering and the same issue: On 2nd time loading the page, the AA filtering pulls all articles from the category instead of a subset as when loading the first time.
Just to explain, here some technical background which you can safely ignore and not read ?
In the content prepare stage, Articles Anywhere stores what the current article is, which it uses in later stages of the page rendering process.
This step was however getting skipped because of caching (the onContentPrepare never gets triggered).
So I added some code so it grabs the article id from the URL when possible in those cases.
The reason this caused an issue in your specific case, was that you are using the {articles} tag in a module (so outside the cached article) and using the "current" in the filters. The "current" thing needs to figure out the current article.
Interesting - Thanks for the details: I had observed that the article-tag works inside an article but not in a module.
Just a general (Joomla) comment: I always find the whole Joomla caching options super-confusing often causing issues, even now under V4. The Joomla team needs a 'Peter' to fix that 😉
Also, I'm starting to really like DigitalOcean. I think I will move my stuff over to them. Running it on a droplet, with CyberPanel on top. And - yes - with LiteSpeed as a web server. WITHOUT any caching turned on, I've seen a performance increase of about 15-20%! Litespeed makes a huge difference. Hopefully it will be included as an officially supported web server by the Joomla team at one point in the future.
after letting this run for a couple of days, I think there might still be an issue. When looking at the Cache-page in Joomla, there is one line showing the number of files for regularlabs. In our case it shows more than 6800 files. Our site has around 700 pages with on average of 4 regularlabs AA content pieves of which maybe 30% got hit in the last 48 hours.
That should sum up to less than 900 in the cache, way less than what's showing.
Is the caching session specific, hence the number is so big?
The cache files in the regularlabs folder are not pages that are coached. But stuff like database query results. So 1 page can create multiple cache files.