Skip to content

Commit

Permalink
Fix regexp expressions in mime-types maps
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Mar 9, 2019
1 parent 7e270ae commit 3b0c4c4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions h5bp/web_performance/cache_expiration.conf
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ map $sent_http_content_type $expires {
~*text/css 1y;

# Data interchange
~*application/atom+xml 1h;
~*application/rdf+xml 1h;
~*application/rss+xml 1h;
~*application/atom\+xml 1h;
~*application/rdf\+xml 1h;
~*application/rss\+xml 1h;

~*application/json 0;
~*application/ld+json 0;
~*application/schema+json 0;
~*application/geo+json 0;
~*application/ld\+json 0;
~*application/schema\+json 0;
~*application/geo\+json 0;
~*application/xml 0;
~*text/calendar 0;
~*text/xml 0;
Expand All @@ -44,8 +44,8 @@ map $sent_http_content_type $expires {
~*text/javascript 1y;

# Manifest files
~*application/manifest+json 1w;
~*application/x-web-app-manifest+json 0;
~*application/manifest\+json 1w;
~*application/x-web-app-manifest\+json 0;
~*text/cache-manifest 0;

# Markdown
Expand Down

0 comments on commit 3b0c4c4

Please sign in to comment.