3 ms·
> better static file handling Don't you just let nginx/CDN handle these?
by Godel_unicode 8y ago
> better static file handling
Don't you just let nginx/CDN handle these?
- Nextgrid 8y agoI think he’s referring to the app being aware of static files so it can resolve their URLs, etc (without having to hardcode paths). You develop by just assuming all your static files would be served by Django itself (and they will - using the dev server) and then change the project’s configuration to use a CDN or S3 (using a library - which will automatically collect & upload your files too) with no change to the underlying code.
- true_religion 8y agoAsset Pipelining is a dingo plug-in, but a built in for Rails.
- ethagnawl 8y agoI think they meant the Sprockets/Asset Pipeline or whatever the new Webpack-based solution is.