Skip to content

Configurable cache of static assets #2

Closed as not planned
Closed as not planned

Description

@darksworm

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

Activity

  1. darksworm commented on Oct 17, 2026

    @darksworm
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions