planner icon indicating copy to clipboard operation
planner copied to clipboard

Use Cloudflare CDN for static assets

Open mroderick opened this issue 3 months ago • 3 comments

Description of the issue 📄

During a past incident I learned that Rails is serving up static assets, which is completely unnecessary. We already have the domain set up with Cloudflare, so we may as well use their CDN and save some load on the Rails app.

Screenshots 📷

Go look at the log files ;)

Steps to fix 🛠

https://www.bigbinary.com/blog/using-cloudflare-as-cdn-for-rails-applications

To do 📋

  • [x] Claim this issue (comment below, or assign yourself if you are part of the codebar org)
  • [ ] Fork and clone the repository
  • [ ] Update the relevant files. Follow the steps to fix section in this issue.
  • [ ] Commit your changes as one commit. Use the title of this issue as your commit message
  • [ ] Submit a pull request
  • [ ] Mention this issue in the PR description by including it's number
  • [ ] Have your pull request reviewed & merged by a codebar team member

mroderick avatar Sep 15 '25 20:09 mroderick