You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any updates here? can this PR be merged? if not, can you please give us a hint how to disable cache in CLI mode? The best I got so far was: static -H '{"Cache-Control": "no-cache, must-revalidate"}'
Activity
[cloudhead#188] Allow disabling of cache
[cloudhead#188] Allow disabling of cache
cphoover commentedon Apr 27, 2017
Fixed by PR: #189
[cloudhead#188] Allow disabling of cache
[cloudhead#188] Allow disabling of cache
jakubwolny commentedon Nov 29, 2017
Any updates here? can this PR be merged? if not, can you please give us a hint how to disable cache in CLI mode? The best I got so far was:
static -H '{"Cache-Control": "no-cache, must-revalidate"}'then as a result I had 2 headers in the response:
which is a bit confusing
elliotrodriguez commentedon Dec 2, 2017
seconded - can we get the PR merged?
klebba commentedon Jan 3, 2018
The programmatic cache option is weird too:
Results in dual
cache-controlheaders as well, like:While the CLI seems to interpret
static -c 0as a falsy value, and falls back to the default, resulting in:brettz9 commentedon Oct 15, 2025
Setting
-corcachetofalseor0works inmaster, so closing (though feel free to comment further as needed).