Closed (fixed)
Project:
Drupal core
Version:
8.3.x-dev
Component:
cache system
Priority:
Minor
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
24 Jul 2015 at 07:31 UTC
Updated:
7 Apr 2017 at 11:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
berdirTo be clear, I *think* that is the reason and trying to make sure it behaves the same as an external cache backend.
We could also look into not doing that and define it as a feature, if start using it more and more as a drupal_static() with cache tag support replacement.
Comment #2
wim leersI also remember that being the reason.
Comment #6
wim leers@HeyLodyM is taking on this issue at Drupal Dev Days Seville!
Clarified issue title and specified remaining tasks.
Comment #7
HeyLodyM commentedComment #8
HeyLodyM commentedI added the missing documentation. What do you think?
Comment #9
wim leersThe first sentence ("The functions…") looks great.
The second sentence ("It…") should start on the same line as the first one: we must fill it up to consume <=80 characters. Other than that, it looks great.
The third ("During…") is a bit confusing. I think "During" can be replaced by "In". I think "prepareItem" should be changed to "::prepareItem()". And I think "is not modified because" should be expanded to "is not modified by the call to unserialize() because".
When you address this feedback, please provide an interdiff (see https://www.drupal.org/documentation/git/interdiff), to make it easy for reviewers (like me!) to see what has changed between the previous patch and the new patch.
Comment #10
HeyLodyM commented@Wim Leers, thank you for your advice, I created a new patch and the interdiff file.
Comment #11
wim leersJust one stupid silly small thing:
".It" needs to be ". It"
Sorry!
Comment #12
HeyLodyM commentedIt's corrected!
Comment #13
wim leersWoot, thank you! :)
Comment #14
catchSorry one more nit, 'of to'.
One nit which I fixed on commit 'of to' -> 'to'.
And yes this is the reason and we should definitely document it explicitly.
Committed/pushed to 8.4.x and cherry-picked to 8.3.x, thanks!