FMCorz / mdk

Moodle Development Kit. A collection of tools meant to make developers' lives easier.
GNU General Public License v3.0
85 stars 47 forks source link

Do not cache strings in dev mode #88

Closed mudrd8mz closed 10 years ago

FMCorz commented 10 years ago

Would that significantly slow down instances? In any case, could you please update the undev script as well? Thanks!

mudrd8mz commented 10 years ago

To be completely honest, I never felt a difference with this cache on/off. We were able to measure the performance gain but it is really for production sites only. On development machines the benefit of instant UI change on the string change in the code (without the need to purge caches) is enormous.

Extended the patchset as suggested - I did not notice the undev script before (as I never used it :-p).

FMCorz commented 10 years ago

Thanks David, will merge this.