Matt Clarkson 09:12
Hi david, just thinking about your language cache in the moodle data directory. When running moodle on a cluster, including php files such as language strings from the moodle data directory can have quite an impact on performance. Is there a way to generate the language cache and include it with the moodle src?
I should say that moodle data is on an nfs share. 09:13
 
david 09:14
change location of the cache
that applies to theme cache and JavaScript cache as well, I guess 09:14
 
Matt Clarkson 09:14
what if that location isn't writable?	

david 09:14
non-writeable disk cache?	

Matt Clarkson 09:15
the code src directory isn't normally writable by the webserver.	

david 09:16
ok, what if you just hard-link whole moodledata/cache/ to a shared dir?	

Matt Clarkson 09:19
to an nfs share?	

david 09:20
How do you deal with all other caches we have in 2.0?
that is cache/theme/, cache/js 09:20
 
Matt Clarkson 09:20
They're just JS, not php code.
what i'd like is to be able to compile the langage cache include it with the moodle src then push it out to the web nodes. 09:21
 
david 09:23
hmm	

Matt Clarkson 09:24
I don't mind if users can't make on-the-fly changes to their language packs. I disable that in 1.9 too.	

david 09:26
so what you need is to be able to edit the disk location and pre-compile all the cache in advance, right? Currently, cache builds at the time it is needed for the first time	

Matt Clarkson 09:26
Exactly.
