templates/new/config.ru.tt in almanack-1.1.0.beta1 vs templates/new/config.ru.tt in almanack-1.1.0.beta2
- old
+ new
@@ -3,9 +3,13 @@
Almanack.config do |c|
c.title = <%= title.inspect %>
c.theme = "<%= theme_name %>" # available: <%= available_themes.join(', ') %>
c.days_lookahead = 30
+ # Don't fetch event information more than once every 15 minutes
+ c.cache_responses = true
+ c.cache_expiry = 900 # seconds
+
# Your group's URL name is what you'd find at www.meetup.com/Your-Group-URL-Name/
# You can get a Meetup API key from https://secure.meetup.com/meetup_api/key
# c.add_meetup_group group_urlname: 'Christchurch-Ruby-Group', key: 'mysecretkey'
# For a Google Calendar, find the "iCal" link under your Calendar's settings