Administrator Cache folder in Joomla 5 Topic is solved

General questions relating to Joomla! 5.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Jan 09, 2011 4:39 pm

Administrator Cache folder in Joomla 5

Post by sgiobbio » Wed Nov 22, 2023 2:02 pm

After upgrading to Joomla 5, which succeeded without problems, I encounter an issue that would seem to be new:
the Administrator Cache fills up with files (enough to create problems with the global Inodes allowed in my Shared Hosting), despite the fact that in Global Configuration the cache is disabled, the System - Page plugin Cache is disabled, and the Component Cache Administrator appears to be disabled.
In particular, the administrator>cache>preview and the administrator>cache>thumb folders become huge.
Has anyone encountered the same problem? Any solutions?
I would like to avoid installing an add-on that empties cache automatically at regular intervals, rather I prefer a cron job from cPanel.
I would like to know from someone who knows the joomla structure thoroughly what the cache folder in administrator is for.
I found article images in there, and I don't understand what they have to do with administrator.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44148
Joined: Sat Apr 05, 2008 9:58 pm

Re: Administrator Cache folder in Joomla 5

Post by Webdongle » Sat Nov 25, 2023 3:28 am

System>>> maintenance... Clear cache ???
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Jan 09, 2011 4:39 pm

Re: Administrator Cache folder in Joomla 5

Post by sgiobbio » Sat Nov 25, 2023 7:26 pm

Of course I did clear cache, that's the first thing I did.
But clearing cache doesn't solve the issue of a cache that fills up even if it's disabled!

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 17507
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: Administrator Cache folder in Joomla 5

Post by toivo » Sat Nov 25, 2023 10:01 pm

sgiobbio wrote:
Wed Nov 22, 2023 2:02 pm
Has anyone encountered the same problem? Any solutions?
A few days ago someone else asked about the folder administrator/cache/schemaorg, where caching stores Rich Snippets, the new feature in Joomla 5.

sgiobbio wrote:
Wed Nov 22, 2023 2:02 pm
I would like to know from someone who knows the joomla structure thoroughly what the cache folder in administrator is for.
It is used for caching by all the core components, modules and Media. This Joomla document explains the different options to manage caching: Cache.

There are options to automate the purging of the cache files. Develop a script and run it as a cron job from the operating system or as a scheduled task from Joomla. The paid extension Admin Tools Pro adds a task 'Admin Tools – Cache clean-up' into the Scheduled Tasks of Joomla. There may be other extensions in JED that do the same, for example Cache Cleaner.
Toivo Talikka, Global Moderator

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12807
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Administrator Cache folder in Joomla 5

Post by brian » Sat Nov 25, 2023 10:40 pm

There is nothing in the core of joomla that creates the folders you described (administrator/cache/preview and administrator/cache/thumbs) so they must be being created by an extension you have installed
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Jan 09, 2011 4:39 pm

Re: Administrator Cache folder in Joomla 5

Post by sgiobbio » Sun Nov 26, 2023 11:53 am

as also suggested by toivo, I ran a script as a cron job to purge the cache. So in my own way I solved the issue.
But I wonder if there is not a way to set NO CACHE in administrator for the folders administrator/cache/preview and administrator/cache/thumbs
In Brian's opinion "there is nothing in the core of joomla that creates these folders" but I don't use third party extensions except for the bare minimum:
GDPR, by J!Extensions Store
OsMap
Plugin Embed Google Map
PDF Embed
Sigplus
Ochjssocial light
And nothing else.
It doesn't seem to me that any of these extensions could be responsible for creating those folders

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12807
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: Administrator Cache folder in Joomla 5

Post by brian » Sun Nov 26, 2023 11:55 am

not my opinion - its a fact!!
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44148
Joined: Sat Apr 05, 2008 9:58 pm

Re: Administrator Cache folder in Joomla 5

Post by Webdongle » Sun Nov 26, 2023 12:00 pm

Sigplus creates thumbs, so it could easily produce cache in administrator?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Jan 09, 2011 4:39 pm

Re: Administrator Cache folder in Joomla 5

Post by sgiobbio » Sun Nov 26, 2023 4:24 pm

I did not mean to question Brian's statements, and I apologize if I misspoke.
I thank Webdongle for the suggestion about Sigplus and will do some checking.
I do not understand why Sigplus should create a cache in the administrator, but if I find out that this is the reason, I will ask the developer and report back here.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44148
Joined: Sat Apr 05, 2008 9:58 pm

Re: Administrator Cache folder in Joomla 5

Post by Webdongle » Sun Nov 26, 2023 4:52 pm

Sigplus creates thumbs while you are making choices in Admin. Where else would it store cache?

Correction it is module and plugin not a Component :-[

Ok
installed sigplus on a test site
Enabled the plugin
Set the module to display on all pages with images from test data
/administrator/cache/thumb appeared with images that were displayed in the module

Changed target folder
/administrator/cache/thumb had the previous images and the new images

Clearing cache in Joomla clears /administrator/cache/thumb folder and it's content!!!
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

sgiobbio
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Sun Jan 09, 2011 4:39 pm

Re: Administrator Cache folder in Joomla 5

Post by sgiobbio » Sun Nov 26, 2023 7:21 pm

Excellent test, Webdongle. Thank you.
Having established that sigplus is responsible, I will clear the cache with a cronjob.
But I still don't understand what is the point of filling a folder in Administration with thumbs, I could understand it in the site cache folder, but not in Administration. For what purpose?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44148
Joined: Sat Apr 05, 2008 9:58 pm

Re: Administrator Cache folder in Joomla 5

Post by Webdongle » Sun Nov 26, 2023 7:31 pm

That is a question best asked of the devs who created sigplus
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “General Questions/New to Joomla! 5.x”