Skip to content

Commit

Permalink
Fix 304 responses Cache-control override
Browse files Browse the repository at this point in the history
Fix #230
  • Loading branch information
LeoColomb committed May 15, 2019
1 parent 7418b50 commit c73d1ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ before_script:
nginx
script:
- ./test/bin/k6 run test/lib/index.js -e TESTS=basic-file-access:cache-busting:custom-errors:forbidden-files:precompressed-files-gzip:rewrites:ssl
- ./test/bin/k6 run test/lib/index.js -e TESTS=basic-file-access:caching:cache-busting:custom-errors:forbidden-files:precompressed-files-gzip:rewrites:ssl

after_success: ./test/bin/k6 run test/lib/benchmark.js

Expand Down
3 changes: 3 additions & 0 deletions h5bp/web_performance/cache_expiration.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
map $sent_http_content_type $expires {
default 1M;

# No content
"" off;

# CSS
~*text/css 1y;

Expand Down

0 comments on commit c73d1ef

Please sign in to comment.