FR: ImageCache force purging


#1

Hi Jules,

Would it be possible to add a way to force the cache purge in ImageCache ?

Thanks,


#2

Yes, good request, thanks!


#3

Thanks !


#4

It looks like the implementation is not the right one.

It shouldn’t clear all images, but only the one that are not referenced anymore, no ? (getReferenceCount() <= 1)
At least that’s what I had in mind with my request

Thanks


#5

Jules ?


#6

Sorry, didn’t see your post… Er… yes, that probably does make more sense, will take a look at that.