-
- Downloads
fix(gw): cache-control of index.html websites
This fixes a regression introduced in 0.13.0, where websites hosted via index.html placed in UnixFS directory were always returned with Cache-Control: public, max-age=29030400, immutable even when loaded from mutable /ipns/ contentPath. (cherry picked from commit e832cc2c)
Showing
- core/corehttp/gateway_handler_unixfs_dir.go 1 addition, 1 deletioncore/corehttp/gateway_handler_unixfs_dir.go
- test/sharness/t0116-gateway-cache.sh 29 additions, 0 deletionstest/sharness/t0116-gateway-cache.sh
- test/sharness/t0117-gateway-block.sh 1 addition, 1 deletiontest/sharness/t0117-gateway-block.sh
Loading
Please register or sign in to comment