Plugin Directory

Changeset 8520


Ignore:
Timestamp:
03/18/2007 01:54:07 AM (20 years ago)
Author:
dwc
Message:

Add example of cache TTL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ical-events/trunk/readme.txt

    r8519 r8520  
    6868= How often is the calendar checked for new events? =
    6969
    70 Once a day. You can change this using the `ICAL_EVENTS_CACHE_TTL` (time to live) near the top of the plugin.
     70Once a day. You can change this using the `ICAL_EVENTS_CACHE_TTL` (time to live) near the top of the plugin to the desired number of seconds in between checks. For example, to load events every hour, use the following:
     71
     72`define('ICAL_EVENTS_CACHE_TTL', 3600);`
     73
     74Loading calendars too frequently can get your server banned, so use your best judgment when setting this value.
    7175
    7276= Does the plugin support repeating events? =
Note: See TracChangeset for help on using the changeset viewer.