Skip to content

Create instructions for serving static files from reverse proxy #4708

@mstahv

Description

@mstahv

Serving static files (like the generated front-end bundle) directly from reverse proxy or from a server designed primarily for serving files is faster and saves resources from the actual application server to more meaningful actions. This can be meaningful especially if a lot of users enter the application at the same time (and they will all request a "number of files").

This page could have a section for it:

https://vaadin.com/docs/latest/flow/production/reverse-proxy

In most simplest form we could just list which files from the artifact to move to apache/nginx/... or we could even provide an example buildstep as a basis for deployment automation (copies relevant files).

Listing "static content" would also help people to configure modern "smart proxies" (clouldflare etc) so that they could event geo-loadbalance those.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Maybe

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions