Comments (7)
So can you give more details about stale caches cleanup process?
It is controlled by disk-cleaner, if the file is stale ON or within stale TIME, it will not be deleted.
from nuster.
It will be deleted if stale TIME is expired
from nuster.
Can we force the first request return stale cache when stale on?
Yes
and nuster send request to the backend server and update the cache at the same time.
Not yet, it's on the todo list..
btw, does the purge request mark the cache stale, and not directly deleting it? so nuster can still use the stale cache?
No, purge mark the cache invalid
from nuster.
Can we force the first request return stale cache when stale on?
Yes
How to do that? According to the comment in this issues, the first request will be always forwarded to the backend and response the return content then.
and nuster send request to the backend server and update the cache at the same time.
Not yet, it's on the todo list..
Great. exciting to wait this come true
btw, does the purge request mark the cache stale, and not directly deleting it? so nuster can still use the stale cache?
No, purge mark the cache invalid
Will cleaner clean up the stale caches immediately? Is there a plan to support mark cache's status to stale
manually?
from nuster.
My bad..It's still on the local development branch..I haven't touched on this for a while:)
Will cleaner clean up the stale caches immediately?
No
Is there a plan to support mark cache's status to stale manually?
Not as of now..
from nuster.
My bad..It's still on the local development branch..I haven't touched on this for a while:)
hope it can be comming soon :)
Will cleaner clean up the stale caches immediately?
No
So can you give more details about stale caches cleanup process?
I want that the cache of stale will never be deleted until the memory / disk is about to exceeds the quota and running LRU cleanup then. So I can use cache as much as I can.
from nuster.
So can you give more details about stale caches cleanup process?
It is controlled by disk-cleaner, if the file is stale ON or within stale TIME, it will not be deleted.
So the stale cache will never be deleted and will only be updated by the new cache?
from nuster.
Related Issues (20)
- Updates & deb packages HOT 10
- 实际测试的性能,比作者说的差距非常大。结论:没有必须使用nuster,直接使用nginx就可以。 HOT 3
- How to use Haproxy v2.4.0 HOT 4
- question: how to ignore a specific query parameter for http cache? HOT 5
- Support 304 answers? HOT 2
- Enhancement library improvements for nuster!
- Does `wait on` even work? HOT 4
- CORS HOT 10
- timeout if server directive is missing port HOT 5
- Log cache hit or miss in log file HOT 2
- incorrect date header HOT 2
- backend response headers not passed to client HOT 4
- ARM64 Docker images
- Will caching work for forward proxy? HOT 2
- Equivalent of hash_always_miss HOT 1
- stat `store.disk.cache.loaded` vary depending on running as daemon
- Nuster seems to ignore cache-control headers from BE. Like "no-cache" HOT 5
- will nuster be updated with latest features of haproxy?
- [Security] Infinite loop in src/http_ana.c
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuster.