Cache default value is confusing
See original GitHub issueHi, I think cache default value should be 0 by default, because 3600 seems like an arbitrary number.
Also, http-server
seems a lot more suitable for development or testing purposes instead of production because of the lacking of pretty basic stuff, like routing.
What do you think?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:4
- Comments:8 (2 by maintainers)
Top Results From Across the Web
What's default value of cache-control? - Stack Overflow
A cache mechanism may cache this page in a private cache and resend it only to a single client. This is the default...
Read more >disable selector caching by default (only cache a single value)
But I believe that by default a selector should only cache ONE value. If the inputs change, they should throw away all previous...
Read more >Confusing documentation for cache and artifacts - GitLab.org
Hey guys! I'm following changes on cache and artifacts since early ci-multi-runner and even that - I'm still confused on how to use...
Read more >3.6.2. Cache variables — CGold 0.1 documentation
Summary¶. Use cache to set global variables; Cache variables fits perfectly for expressing customized options: default value and respect user's value; Type of ......
Read more >Server-Side Behavior Changes for Cache Settings
Intelligence Server will use a single absolute value representing the left free disk space as a threshold to stop generating caches, the default...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Caching is usually an opt-in feature, because it may produce unexpected results.
El 14 ene. 2017 15:41, “Jannis Redmann” notifications@github.com escribió:
@aletorrado 3600 is not arbitrary, it’s one hour, which is a normal cache time for a static page. It’s also the default cache time in
ecstatic
, the core piece ofhttp-server
. It also makes sense when coupled with etags.Closing due to inactivity, please reopen if this is still an issue.