On the date field widget configuration form, there's a checkbox i'm unfamiliar with:
"Maximum dates per field
If set to '0', all date values on every entity will be cached. Note that caching every date on fields that may have a large number of multiple or repeating values may create a significant performance penalty when the cache is cleared. The suggested setting for multiple value and repeating fields is no more than 4 values per field."

What does this checkbox do?
It seems to have something to do with caching, but it's not clear from the interface (see attached).
Is this setting dependent on cache being enabled?

Also: speaking of date caching, how does it work?
Why would I *not* want to improve performance?
What does date caching have to do with other drupal caching mechanisms?

Is there any documentation about date caching?
I couldn't find it.

CommentFileSizeAuthor
Screenshot 4:16:13 1:20 PM.png72.76 KBAaronBauman
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Patrick Storm’s picture

Issue summary: View changes

Hi everybody,

I have the same question regarding"cache dates" ! Can anyone, who knows, please explain: In which cases it's recommended to select this option (why? what is the % of performance gain*) and in which cases it's not recommended to select this options (why? what are the dropdowns?)

P.S. I googled this question and I can't find any decent, nice and clear answer about this feature. I also tried asking on IRC, and basically I got the same result, nobody seems to know for sure what that options does.

Thanks in advance for your answers.
Please send me a copy of the answer to: grozapp@gmail.com =]

ITMonkey’s picture

It's been nearly five years since this was first asked, but it still hasn't been answered, does anyone know? I assumed it had something to do with cacheing (and displaying) repeated dates, but items I've created e.g. weekly repeats on a Monday and in weeks with five Mondays all five are shown, so this can't be right.

I'm having issues on one server with the size of the cache tables growing dramatically and causing space issues, where a site has a high number of repeating events.