ubyssey / ubyssey.ca

The code that powers www.ubyssey.ca
GNU General Public License v2.0
35 stars 40 forks source link

Store static files in Google Cloud Storage #1428

Open psiemens opened 4 months ago

psiemens commented 4 months ago

What problem does this PR solve?

The Ubyssey app currently uses Whitenoise to serve static files directly from App Engine, but this adds some overhead, especially on instance initialization.

How did you fix the problem?

I'd like to experiment with serving static files from Google Cloud Storage to see if it has a noticeable impact on site performance.

TODO

I've got this code working in a sandboxed App Engine project, but we likely need to make tweaks to the GitHub Actions release workflow to ensure that static files are uploaded to the Ubyssey production bucket.