If you specify until, the value can be one of many things, all intended to indicate a point in time until which to cache. The until argument accepts any one of the following:
# expires the cache at 0, 15, 30, and 45 minutes after the hour <:cache until=`(":00", ":15", ":30", ":45")`:> # expires the cache at 15 minutes after the hour, # and also at 06:00 every day, and also # at 5pm (17:00) on Sundays. <:import DateTime "RelativeDateTime":> <:cache until=`(":15", "06:00", RelativeDateTime( weekday=0, hour=17, minute=0, second=0))`:>
The Python equivalent of the <:cache until=foo:> tag is:
import TimeUtil __expiration = TimeUtil.convertUntil(foo)