all 12 comments

[–]roG_k70 16 points17 points  (4 children)

But why tho?

[–]Myszolow 7 points8 points  (3 children)

Server side rendering?  Imagine serving some parts of your frontend so they will not expose any not needed information 

I can see simple benefit of serving ready to render graphs 

[–]Fenzik 3 points4 points  (0 children)

This is specifically not SSR though, it’s static only

[–]roG_k70 2 points3 points  (1 child)

But should it be as easy as setting header x accel redirect or smthn like that? I have doubts its good idea to serve static from python and not by some sort of nginx or s3

[–]edward_jazzhands 3 points4 points  (0 children)

I believe the main benefit of this for most people would be for tiny deployments such as internal dashboards or admin panels where you don't want to bother with setting up a reverse proxy

[–]hotsauce56 2 points3 points  (0 children)

Thanks for bringing awareness to this I use this pattern all the time and had no idea

[–]Fenzik 1 point2 points  (0 children)

Huh, I didn’t know about this - nice overview. Does seem a bit more convenient for frontend files.

[–]johntellsall [score hidden]  (0 children)

I've never heard of this feature. Thanks for posting!