hello, if a particular module (usually a 3rd party one) does not support joomla's global cache as per System -> Global Configuration -> Cache Settings .... (this is not a page cache, this is purely module cache)
you may want to modify your module this way:
- most modules show their caching settings like this:
BUT on some 3rd party modules, this option is missing and you need to modify the manifest file to add it there:
as per example from:
\modules\mod_articles_archive\mod_articles_archive.xml
you only need to add this to your module:
- Code: Select all
<field
name="cache"
type="list"
default="1"
label="COM_MODULES_FIELD_CACHING_LABEL"
description="COM_MODULES_FIELD_CACHING_DESC"
>
<option value="1">JGLOBAL_USE_GLOBAL</option>
<option value="0">COM_MODULES_FIELD_VALUE_NOCACHING</option>
</field>
And then you can select "no caching" within the module's config.
This option is used by core joomla, not the module's files itself. It's important that all 3rd party developers add this option, even when they think it's not used within the module.
The above field section is inside <fieldset name="advanced"> section, see the core file for reference.
Best Regards, Stan