An open API service indexing awesome lists of open source software.

https://github.com/gregorym/daily_expire

Expire your cache every day or any day of the week
https://github.com/gregorym/daily_expire

Last synced: 7 months ago
JSON representation

Expire your cache every day or any day of the week

Awesome Lists containing this project

README

          

# Introduction

DailyExpire is a gem that expire your cache every day or any day of the week.

# Usage

```Erb
<% cache [:deals], :every => :day, :at => '5am' do %>
<% Deals.today.each do |deal| %>
<%= render deal %>
<% end %>
<% end %>
```