scolby33 / OCSPdash

A dashboard for the status of the top certificate authorities' OCSP responders.
MIT License
1 stars 0 forks source link

Pre-gzip (zopfli) and pre-brotli versions of static files for Nginx #32

Open cthoyt opened 6 years ago

cthoyt commented 6 years ago

What about using this: http://flask-assets.readthedocs.io/en/latest/?

scolby33 commented 6 years ago

That's interesting! I don't like how it'll make the first request for each asset slow, but I do like how simple and integrated it'd be.

cthoyt commented 6 years ago

you can always make your life awful and put stuff like yarn in there and have more build tools

scolby33 commented 6 years ago

Or a makefile.

For the pre-compressed stuff, it's something along the lines of RUN gzip **/* in the Dockerfile, though.

cthoyt commented 6 years ago

Good point, docker can the build more reproducible so it's okay if it gets a bit more complicated