Timeline for Block cache not clearing on save?
Current License: CC BY-SA 3.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2018 at 0:22 | answer | added | Sriman | timeline score: -1 | |
Jan 17, 2017 at 15:17 | vote | accept | Kevin | ||
Jan 15, 2017 at 13:27 | history | tweeted | twitter.com/StackDrupal/status/820623335226744832 | ||
Jan 14, 2017 at 12:58 | answer | added | 4uk4 | timeline score: 13 | |
Jan 14, 2017 at 11:06 | comment | added | 4uk4 |
The problem in this case is that block_content:[id] does not bubble up.
|
|
Jan 14, 2017 at 10:05 | comment | added | Berdir | Still, invalidation should work just fine, cache tags bubble up. For whom exactly does it not update? authenticated users, anonymous users? If it's anonymous, maybe you simply have an external cache (varnish, ..) that doesn't support tag-based invalidation | |
Jan 14, 2017 at 9:00 | comment | added | 4uk4 |
If you not render {{ content }} in a block template you loose the cache data. The main problem here is that unlike other entities block_content has not a template and you are forced to use the parent template block , which is not really the right place to theme the inside of block_content.
|
|
Jan 14, 2017 at 5:27 | comment | added | No Sssweat | Maybe, but I doubt it. You could also temporarily rename of the template file, so it does not use it, and see if saving works then. Perhaps this upvoted comment from 4k4 may solve your problem. | |
Jan 14, 2017 at 4:54 | comment | added | Kevin |
It does, but I don't have it on this computer. Will have to update later. In some parts, it checks if block_content.field_name... exists before rendering the content.field_name . Does that cause it?
|
|
Jan 14, 2017 at 3:16 | comment | added | No Sssweat | Does this block have/use a custom template file, and if yes, can you post the code in your Q? | |
Jan 14, 2017 at 2:13 | history | edited | Kevin | CC BY-SA 3.0 |
added 67 characters in body
|
Jan 14, 2017 at 0:06 | history | asked | Kevin | CC BY-SA 3.0 |