Set a specific S3 expiration time so that files can be cached
This commit is contained in:
parent
80c44ed9c1
commit
24e692b0cf
10 changed files with 15 additions and 15 deletions
|
@ -5,7 +5,7 @@ module ApplicationHelper
|
|||
current_page?(path) ? 'active' : ''
|
||||
end
|
||||
|
||||
def id_paginate(path, per_page, collection)
|
||||
# todo
|
||||
def s3_expiry
|
||||
Time.zone.now.beginning_of_day.since 25.hours
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue