FerryDocs
ContributingWeb client

What ferryd answers

ferryd serves the files of the dashboard with cache rules. Each path of the app gets index.html.

Edit on GitHub
GET /assets/…a hashed fileGET /or another fileA history URL/services/api/logsA missing asset/assets/…The filecache: one yearindex.htmlno-cache, ETag404

A file under /assets/ never changes. The browser can keep it for one year.

1 / 4

The rules

ferryd serves the app at /.

RequestAnswer
A file under /assets/The file, with Cache-Control: public, max-age=31536000, immutable
Each other file, index.html firstThe file, with no-cache and an
Another GET outside /api, /hooks and /healthz that is not a fileindex.html. Thus a such as /services/api/logs works after a reload.
A file under /assets/ that does not exist404

tells the browser how long it can keep a file. max-age=31536000 is one year, in seconds.

On this page