Open sourcec0de opened 10 years ago
all assets like
should be pre-compiled on the fly when #4 occurs.
no user intervention should be required, this ensures developer productivity.
asset-rack is helpful because it allows you to deploy your static files to the cloud.
aws s3
the url of a file is cdn.domain.com/fileName-md5Contents.css
this ensures you have the latest version of each file when rendering your views, and offloads to a cdn.
use asset-rack module for serving and compiling client side assets.
consider for pre-compiling jade
I am working on a pull-request to add middleware to secure assets. This way you can pre-compile your admin templates and secure them by ensuring a user has permissions to view that template.