Add ETag to fingerprinted files
This commit is contained in:
parent
e0b223b8a5
commit
8c54341815
|
@ -89,6 +89,7 @@ class Travis::Web::App
|
||||||
'Content-Location' => path_for(file),
|
'Content-Location' => path_for(file),
|
||||||
'Content-Type' => mime_type(file),
|
'Content-Type' => mime_type(file),
|
||||||
'Expires' => (server_start + age).httpdate,
|
'Expires' => (server_start + age).httpdate,
|
||||||
|
'ETag' => %Q{"#{version}"}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
set_config(content, options) if config_needed?(file)
|
set_config(content, options) if config_needed?(file)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user