Heroku by default caches all static assets in /public for 24 hours.

Oren

On Wed, Sep 22, 2010 at 3:39 AM, Alex <[email protected]> wrote:
> Sorry, I should have specified,
>
> the files stored in /public on rails for instance. These aren't
> managed by a controller (so no headers that way) and I was wondering
> if heroku had a default approach to them.
>
> It occurs to me that this may be entirely a Rack issue, though
> hopefully somebody here can point me in the right direction.
>
>
>
> On Sep 22, 4:01 am, Jeff Deville <[email protected]> wrote:
>> This what you're looking for?http://docs.heroku.com/http-caching
>>
>>
>>
>> On Tue, Sep 21, 2010 at 10:36 PM, Alex <[email protected]> wrote:
>> > I'm wondering about the options for caching of public files, I would
>> > image they are cached by default?
>>
>> > How do you set caching headers on them for instance?
>>
>> > --
>> > You received this message because you are subscribed to the Google Groups
>> > "Heroku" group.
>> > To post to this group, send email to [email protected].
>> > To unsubscribe from this group, send email to
>> > [email protected]<heroku%[email protected]>
>> > .
>> > For more options, visit this group at
>> >http://groups.google.com/group/heroku?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Heroku" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/heroku?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to