Moodle DevCamp 2019 - Idea exchange and progress tracking

Partially purging caches

 
Picture of Simeon Naydenov
Partially purging caches
by Simeon Naydenov - Wednesday, 28 August 2019, 12:25 PM
 

Hi,

As a developer, it is quite often required to purge the caches. Since moodle introduced scss, purging caches now takes definitely longer, as the whole css has to be compiled every time. 

Now, sometimes I want to purge only the string or javascript caches. It will be great to have the ability to choose which caches should be purged.

Cheers,
Simeon

Picture of Alexander Bias
Re: Partially purging caches
by Alexander Bias - Wednesday, 28 August 2019, 1:11 PM
 

Hi Simeon,

are you aware of https://tracker.moodle.org/browse/MDL-61244 which was integrated into 3.6? From 3.6 on, partial cache purging is already possible.

Additionally, from 3.8 on you can also easily re-purge caches as you can see in https://tracker.moodle.org/browse/MDL-65492.

Are you missing anything beyond that?

Cheers,
Alex