0
Hi
I have enabled caching on the site, and everything is fine, however I don't want certain modules to be cached (like displaying random artists) I cant find a option to not cache this module do you know if this is possible to do?
Or do you know how I could disable the cache only on muscol?
I have enabled caching on the site, and everything is fine, however I don't want certain modules to be cached (like displaying random artists) I cant find a option to not cache this module do you know if this is possible to do?
Or do you know how I could disable the cache only on muscol?
Responses (3)
-
Accepted Answer
-
Accepted Answer
0Hi
Yes on the default Joomla modules their is an option under Advanced Options which lets you make the particular module not cached.
I don't have any other major custom content scripts that come with modules so cant check if they have managed to implement it for their modules.
The main issue is only with using random or show latest artists added the the modules wont get updated until the cache time expires or until I blow the cache manually. Just a bit annoying but I can live with it if theirs no easy solution. -
Accepted Answer
0well, we could try to add the same exact parameter to this module and hope Joomla recognizes it and it does not cache it.
if you open the module XML file (located in /modules/mod_muscol_recently_added/ or whatever, you need to add this new field:
[field name="cache" type="list" default="1" label="Caching" description="Select whether to cache the content of this module"]
[option value="1"]Use global[/option]
[option value="0"]No caching[/option]
[/field]
(please replace the "[" and "]" for the opening and closing XML file chars. do you know what I mean (I can't copy here because it would strip out the code)
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »