Skip to content

Commit d59c8db

Browse files
committed
Update the web app manifest file related configs
The specification for the manifest file for web applications was recently updated¹ and it changed one of the recommended file extensions from `.manifest` to the unique `.webmanifest`². - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ¹ w3c/manifest@0eecadd ² w3c/manifest#346
1 parent 6a1dbd4 commit d59c8db

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lighttpd.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ mimetype.assign = (
125125

126126
".webapp" => "application/x-web-app-manifest+json",
127127
".appcache" => "text/cache-manifest",
128+
".webmanifest" => "application/manifest+json",
128129

129130

130131
# Media files
@@ -289,6 +290,10 @@ $HTTP["url"] =~ ".(appcache|manifest|webapp)" {
289290
expire.url = ( "" => "access plus 0 seconds" )
290291
}
291292

293+
$HTTP["url"] =~ ".webmanifest" {
294+
expire.url = ( "" => "access plus 1 week" )
295+
}
296+
292297
# Media
293298
$HTTP["url"] =~ ".(gif|jpg|jpeg|png|m4a|f4a|f4b|oga|ogg|webm)" {
294299
expire.url = ( "" => "access plus 1 months" )

0 commit comments

Comments
 (0)