No Code Attached Yet Information Required
avatar PixedBo
PixedBo
31 Jan 2025

Steps to reproduce the issue

Activate the “Page Cache” plugin and leave the cache to OFF in “global configuration”.

Expected result

I still expect to be able to set the number of minutes after which the “Page Cache” cache expires and is regenerated.

Actual result

The field remains hidden so I cannot set the minutes for Page Cache. I have to necessarily enable another type of cache in order to display that field.

System information (as much as possible)

Joomla4 and Joomla5 standard, no extensions installed.

Additional comments

This is a problem I already encountered with Joomla4 but had not given it much thought.
In Joomla3 even if the cache in “global configuration” is disabled we can set the Cache Time (default 15 minutes) and this is also used to manage the “Page Cache” (the plugin), which can be enabled even if the cache in “global configuration” is on OFF.
In Joomla4/5 the operation is the same (I can activate Page Cache independently) but if I leave OFF the cache in “global configuration” the “minutes” field is hidden.
How does this work? Are the default 15 minutes taken? In order to change that number do I have to turn on one of the two caches in “global configuration” but then they will be ignored in favor of Page Cache?

Even in the documentation is written how to set the global configuration for Page Caching, but it refers to Joomla3 where those fields are visible even if you set the cache to OFF.

avatar PixedBo PixedBo - open - 31 Jan 2025
avatar joomla-cms-bot joomla-cms-bot - change - 31 Jan 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 31 Jan 2025
avatar PixedBo PixedBo - change - 31 Jan 2025
The description was changed
avatar PixedBo PixedBo - edited - 31 Jan 2025
avatar PixedBo PixedBo - change - 31 Jan 2025
The description was changed
avatar PixedBo PixedBo - edited - 31 Jan 2025
avatar PixedBo PixedBo - change - 31 Jan 2025
The description was changed
avatar PixedBo PixedBo - edited - 31 Jan 2025
avatar PixedBo PixedBo - change - 31 Jan 2025
The description was changed
avatar PixedBo PixedBo - edited - 31 Jan 2025
avatar chmst
chmst - comment - 4 Feb 2025

When cache is not active, it is not relevant and when you activate the cache, you can set the time. Why is this a problem for you?

avatar chmst chmst - change - 4 Feb 2025
Labels Added: Information Required
avatar chmst chmst - labeled - 4 Feb 2025
avatar PixedBo
PixedBo - comment - 4 Feb 2025

It's a bit different: i can have the cache set to OFF in Global Configuration but still use the "Page Cache Plugin" if I activate it (it's a different type of cache from the two in global configuration).
The problem is that i can use the Page Cache but am unable to set the cache time because the field is invisible as the other type of cache is set to OFF.

Add a Comment

Login with GitHub to post a comment