Needs work
Project:
Views content cache
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2010 at 12:42 UTC
Updated:
31 Mar 2017 at 02:00 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ednique commentedAfter further investigation I found that if comments is activated, the cache gets refreshed when comments are added.
When disabling the comments checkbox, the cache refreshes perfectly when the node is updated AND the comments are updated.
Thus please make it more clear in the admin interface...
Check refresh on comments only
OR refresh when node type is updated/commented.
Comment #2
yhahn commentedAgreed, the way the conditions are presented in the UI is not clear.
Comment #3
dagmarAlso see #892028: Clarify kind of caches
Comment #4
steven jones commentedComment #5
steven jones commentedAdding to some more documentation to the settings pane, though breaking all existing uses of this plugin.
Comment #6
steven jones commentedCommitted to 6.x-2.x in http://drupal.org/cvs?commit=487938.
Comment #7
steven jones commentedArgh! This hasn't really helped at all, I'm still confused!
Comment #8
YK85 commentedHello,
Does this thread refer to the below settings?
I want the page to refresh when the node or comments in the node are updated.
How do I set this up?
Thank you so much!
Comment #9
ccshannon commentedYes, I, too, believe the instructions on the UI could be better.
What is the purpose of the two AND'd checkboxes mentioned by YK85 in #8 above?
I'm guessing that if one checks the per-content types at the top of the Content-based cache UI form, then the cache will flush when a node is updated/created/deleted OR if a comment is posted/updated.
I'm guessing that one checks the Comment box ONLY if one wants the cache to flush when a node is updated/created/deleted AND a comment is added/deleted.
I'm also guessing that the "node-only" checkbox should be selected if one only wants the cache to flush on node create/update/delete ONLY with comments changes having no effect on cache flush.
Could someone who maintains or has experience with this module confirm my guesses? Much appreciated to anyone who can help with this, as I can see I am not the only one completely confused by the wording in the UI.
The VCC module is almost a necessity if using Views and Contexts extensively. It would greatly improve the value of this great module to have the instructions be a bit more clear.
Thanks!
Comment #10
2phaRan into this today. 7.x branch
I had both "New or updated comments" and "Node only" checked. View did not flush as I expected (when nod is created/updated/deleted or when comment is posted).
This still needs work to make it more clear what these checkboxes do.
Comment #11
jwilson3Yes, the text explanations on this are also driving me crazy here too.
* The fieldset description text talks about AND'ed and then proceeds to provide examples using "or".
* It seems that the "Only Comments" and "Only Node create/edit/delete" options simply conflict with eachother.
I'd propose something like the following:
Comment #12
Chris Charlton