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
Given that I've enabled cache for the static assets of my website
When I try to open the proxied website
And the target host is not online
Then I'm served the static assets immediately
And the target is being awoken in the background
Closing this one. After seeing a full implementation in #37, I've decided caching doesn't belong inside doormouse. It's a full HTTP cache with a lot of edge cases, and I'd rather keep doormouse focused on waking and sleeping machines.
The same result is possible today by putting a caching proxy (nginx, Varnish, or Caddy with a cache plugin) in front of doormouse. Fresh entries are served without reaching doormouse, so the machine stays asleep, and stale entries can be served right away while the cache refreshes them in the background. I'll add a README section showing how to set that up.
Activity
darksworm commentedon Oct 17, 2026
Closing this one. After seeing a full implementation in #37, I've decided caching doesn't belong inside doormouse. It's a full HTTP cache with a lot of edge cases, and I'd rather keep doormouse focused on waking and sleeping machines.
The same result is possible today by putting a caching proxy (nginx, Varnish, or Caddy with a cache plugin) in front of doormouse. Fresh entries are served without reaching doormouse, so the machine stays asleep, and stale entries can be served right away while the cache refreshes them in the background. I'll add a README section showing how to set that up.