apache / apache/airflow

Serve webserver static files by CDN

Open
#38,068 2 comments 0 reactions 0 assignees View on GitHub
area:webserver kind:feature
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 7h
Merged PRs (30d)
484

Description

### 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?

- [X] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by locating the webserver's static-file serving and configuration, then determine how a STATIC_PATH-like setting would route those files to a CDN. Done means static assets no longer consume gunicorn capacity.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.