It would be great for debugging to be able to clear individual cache cids or bins right from the debug output - just triggering a cache_clear_all('bin','key') by passing the bin and key from the debug table with ajax?

could be simple?



rafaqz’s picture

Status:Active» Needs review
new4.08 KB

I went ahead and built this as it seemed pretty simple. Works well so far.

I think there is a jquery bug that stops it from showing the "Cache cleared" message for each instance of the same wrapper class (ie for get, set and any duplicates) so it only shows on the lowest row currently. But it might be another problem too.

Spleshka’s picture

Status:Needs review» Closed (fixed)


Thanks for the patch. I applied it, but then I got some bugs there. So I refactored your code and commited/pushed it to 7.x-1.x.

rafaqz’s picture

Great, glad you think it's useful!