Forum: Ruby on Rails Content delivery networks

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Martin S. (Guest)
on 2009-03-03 20:58
(Received via mailing list)
I am authoring an article for Amazon Cloudfront. Are there recommended
techniques for working with content delivery networks in Rails?

I have seen and used ActionController::Base.asset_host and am aware of
the date parameter that Rails can attach to each static image to
reflect its last modified time.

Are there other build techniques and coding techniques to work well
with CDNs? For instance, does anyone refer to fixed IDs in code which
are replaced during a build with the latest and greatest version of an
asset? If so, is this a rake task?

I'll do some Googling, but thought I would ask peers, too.

The article will be based on Rails, so will assist the community at
large when published next month.

Martin
This topic is locked and can not be replied to.