asset host

I am setting up an asset host on another server

how should I organize the folders in this host ?
should I copy the public folder of my Rails app ?
only the images ?
or image s+ javascript + stylesheets ?

I did not find any information in the doc about it ?

thanks for your lights