Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
cache system
Priority:
Major
Category:
Bug report
Assigned:
Reporter:
Created:
17 Jan 2014 at 15:05 UTC
Updated:
29 Jul 2014 at 23:17 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damiankloip commentedComment #2
catchComment #3
olli commentedWhat about calls like $this->cache->deleteTags() or \Drupal::cache($this->cacheBin)->deleteTags() or cache($this->cacheBin)->deleteTags() ?
Comment #4
damiankloip commentedYes, totally right. we need to get those too.
I left the backend tests doing what they are doing, just calling ->deleteTags on themselves. I think it's ok to leave that for now?
Comment #6
olli commentedShould we rename these two methods in CacheBackendInterface?
Comment #7
damiankloip commentedYou fixed the tests, thanks!
I think we should see how #918538: Decouple cache tags from cache bins goes, but I don't think this issue should try to cover that.
Comment #8
dawehnerCan we please open a follow up to put this information onto the CacheBackendInterface? I do not see how you should know from reading the CacheBackendInterface.
Comment #9
webchickSince catch moved this to major, he's probably in the best position to ensure that it's solved to specification. :)
Comment #10
catch@dawehner we either need to do that, or go ahead with #918538: Decouple cache tags from cache bins which would remove this method from the interface altogether.
Was going to commit it, but it no longer applies (yes, already).
Comment #11
damiankloip commentedRerolled.
Comment #13
damiankloip commentedDoh
Comment #14
dawehnerThank you
Comment #15
catchComment #16
wim leersYES! THANK YOU!
This confused me enormously when I was first learning about cache tags. This is MUCH better.
Thanks!