Use Cloudflare CDN for static assets
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia esaminando i file di log di Rails relativi alla distribuzione degli asset e la guida di Cloudflare CDN collegata. Individua i file di configurazione o deployment pertinenti, quindi verifica che gli asset statici vengano distribuiti tramite il CDN anziché dall'applicazione Rails e che la modifica funzioni nell'ambiente in cui è stato effettuato il deployment.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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 📋
- 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
- Lingua principale
- Ruby
- Stelle
- 104
- Fork
- 205
- Merge medio
- 1g 6h
- PR unite (30g)
- 71
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di codebar/planner
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
discussion tech debt
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Clean up historical duplicate invitation rows (one member, two invitations per event/workshop) Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
Tutte le issue di codebar/planner
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
ai-generated
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hanami/hanami-cli#449 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
hanami/hanami-router#310 ·