Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
documentation
Priority:
Normal
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
7 Mar 2012 at 08:22 UTC
Updated:
29 Jul 2014 at 20:27 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
jhodgdonThe URL above didn't work for me. I found it at:
http://api.drupal.org/api/drupal/core!modules!system!system.api.php/func...
http://api.drupal.org/api/drupal/modules!system!system.api.php/function/...
Anyway, adding a note that it won't work with page caching seems like it would make sense.
Comment #2
nmudgal commentedAdded message:
But it seem to clash with this a bit (right below it):
Comment #3
jhodgdonI don't think it conflicts with the next statement... but I don't think this added text quite gets the point across (and it needs a little grammatical help, like some extra "the" and "a" words added)... How about something more like this:
Note that returning different themes for the same path may not work with page caching. This is most likely to be a problem if an anonymous user on a given path could have different themes returned under different conditions.
Does that make more sense?
Comment #4
nmudgal commentedComment #5
nmudgal commentedI think the text you proposed is creating a bit of redundancy [ multiple use of 'different', 'returned' ] etc.
So reworded it a bit [ Not changing status ]
Let me know if it is fine then will create patch.
Thanks
Comment #6
jhodgdonThe second sentence doesn't tell me enough to figure out what the problem would be.
Comment #7
nmudgal commentedHow about this ?
Comment #8
jhodgdonI still like my proposal in #3 better than this alternative...
How about this?
Note that returning different themes for the same path may not work with page caching. Since most page caching is only for anonymous users, this is only likely to be a problem if you plan to return different themes under different conditions for anonymous users accessing the same path.
Comment #9
nmudgal commentedwell #3 makes more sense than #8 :-)
created patch but still I think we should wait for more review & see if someone can suggest better?
Comment #10
jhodgdonnmugdal: I am OK with #9 (obviously). If you want others to review it, please find them and ask them to review. Otherwise I will just commit it. Tentatively setting to RTBC status.
Comment #11
Tor Arne Thune commented+1 on the RTBC. It's quite clear from the new text why the case you mentioned is not compatible with anonymous page caching.
Comment #12
nmudgal commentedOkay then I suppose we can mark it "fixed".
go go go, commit it jhodgdon :-)
Comment #13
jhodgdonCommitted to 8.x/7.x. Thanks!