Resource types

Cache directory structure

Picture of Shail Jai
Cache directory structure

Hello friends,

I am working on multitanancy module of moodle, but I am facing problem on images and logo section.

In our scenario we also want to change logo as well as string/label of site, but right now this is not possible because of cache( I think so) , and if we disable theme cache, site gets slow…

Current cache directory structure of moodledata :--- 1. Moodledata->cache->theme->nameoftheme-> But I want to modify this structure like this 1.moodledata->user->lang->cache->theme->etc… so that there should not be any problem if theme cache is on.

Can anybody tell me how I can modify cache directory structure according to my requirement?

Average of ratings: -