This repository has been archived by the owner on Jan 28, 2022. It is now read-only.
forked from backdrop-contrib/calendar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
42 lines (31 loc) · 1.68 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Creates calendar displays of Views results.
Create a new calendar by using the calendar template for the desired
date field. See a link to create a view from a template at the top
of the Views listing page.
If the Calendar iCal module is enabled, an iCal feed can be
attached to the view.
For a quick and easy start, install the Date Tools module, then use
the Date Tools Wizard to create a content type with a date field
and a calendar that displays that field, all in a single step!
=========================================================
CACHING & PERFORMANCE
=========================================================
Calendars are very time-consuming to process, so caching is recommended.
You can set up caching options for your calendar in the Advanced section
of the View settings. Even setting a lifetime of 1 hour will provide some
benefits if you can live with a calendar that is 1 hour out of date.
Set the lifetime to the longest value possible. You will need to clear
the caches manually or using custom code if the content of the calendar
changes before the cache lifetime expires.
The recommended settings for time-based caching are:
- Query results
Cache the query only when not using ajax. Do not cache the query
on any display that uses ajax for its results.
- Rendered output:
Always try to cache rendered output. Rendering the output is the most
time-consuming part of building a calendar. This is especially
important for the Year view, less important for the Day view.
As with all caching options, please test to be sure that caching
is working as desired.
If performance is a problem, or you have a lot of items in the calendar,
you may want to remove the Year view completely.