diff options
author | 2021-11-15 15:03:17 -0800 | |
---|---|---|
committer | 2021-11-15 15:03:17 -0800 | |
commit | 0781f60477a762107d86b6583f9609c1976adbb3 (patch) | |
tree | b8cdc235d4858f10bd77700883ae862c6d85949a | |
parent | Gemfile: add puma-daemon and downgrade again (diff) | |
download | infra-status-0781f60477a762107d86b6583f9609c1976adbb3.tar.gz infra-status-0781f60477a762107d86b6583f9609c1976adbb3.tar.bz2 infra-status-0781f60477a762107d86b6583f9609c1976adbb3.zip |
For the main page, add a last modified header.
Ideally, the CDN can HEAD and take updates faster.
Signed-off-by: Alec Warner <antarus@gentoo.org>
-rw-r--r-- | infra-status.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/infra-status.rb b/infra-status.rb index ed1851b..defc5e5 100644 --- a/infra-status.rb +++ b/infra-status.rb @@ -24,6 +24,7 @@ configure do end get '/' do + last_modified ServiceRegistry.instance.load_date erb :index end |