![]() We recommend those being different and for admins to set both. ![]() It will be mainly used for pushable assets: JS, images and user uploads. It will be used mainly for pullable assets: CSS and other theme assets.ĭISCOURSE_S3_CDN_URL is a CDN that points to your object storage bucket and caches requests. I used StackPath CDN in my testing, and other than needing to set Dynamic Caching By Header: Accept-Encoding in their configuration it works ok.ĭISCOURSE_CDN_URL is a CDN that points to you Discourse hostname and caches requests. When using object storage, you also need a CDN to serve what gets stored in the bucket. sudo -E -u discourse bundle exec rake s3:expire_missing_assets sudo -E -u discourse bundle exec rake s3:upload_assets In order to store Discourse static assets in your Object Storage add this configuration on your app.yml under the hooks section: after_assets_precompile: ![]() If you got a different service working, please add it to this wiki.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |