And just in case you have some really weird edge case, I would recommend not using the Rails helpers to create the links for the things you want to keep local.
On Mon, Jan 26, 2009 at 11:22 PM, Carl Fyffe <[email protected]> wrote: > Why? Amazon's CloudFront will be happy to do both for you... > > On Mon, Jan 26, 2009 at 10:45 PM, LostyJai <[email protected]> wrote: >> >> Is there a way to configure it so that it will take pictures from >> server1 and scripts from server2? >> >> On Jan 27, 4:36 am, Carl Fyffe <[email protected]> wrote: >>> In your environment.rb add the following: >>> >>> config.action_controller.asset_host = "http://assets.example.com" >>> >>> Details can be found in the following books: >>> The Rails Way >>> Advanced Rails >>> >>> The code above was taken directly from The Rails Way. >>> >>> On Mon, Jan 26, 2009 at 5:34 AM, LostyJai <[email protected]> wrote: >>> >>> > I wish to setup an asset server, to reduce the load time and load on >>> > the server itself. >>> > How do I set it up so that images are loaded from an asset server, >>> > while scripts/etc are loaded from the same server as community engine >>> > (localhost). >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CommunityEngine" 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/communityengine?hl=en -~----------~----~----~----~------~----~------~--~---
