apache / airflow

Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
https://airflow.apache.org/
Apache License 2.0
35.21k stars 13.76k forks source link

Serve webserver static files by CDN #38068

Open lihan opened 3 months ago

lihan commented 3 months ago

Description

Add a new config like STATIC_PATH to serve static files from the CDN. Right now, static files are served with gunicorn process, while this works, I find it unnecessary makes the webserver slower. Especially with more users it requires more gunicorn processes to handle.

Use case/motivation

Require more web servers when under the load.

Related issues

No response

Are you willing to submit a PR?

Code of Conduct

potiuk commented 3 months ago

Sure - just make sure to add instructions for users what they need to do to make use of it.