You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2020/07/02 19:55:04 UTC

[Bug 64573] New: htcacheclean limit by URL-prefix

https://bz.apache.org/bugzilla/show_bug.cgi?id=64573

            Bug ID: 64573
           Summary: htcacheclean limit by URL-prefix
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_cache
          Assignee: bugs@httpd.apache.org
          Reporter: raphael.droz@gmail.com
  Target Milestone: ---

Apache configuration allows for multiple mod_cache directories to co-exist
(CacheRoot).

While probably underused, it's nice to have, but in most cases one mod_cache
directory is set for the whole Apache instance.

Abd in this one-cache scenario, it would be useful to CLEAN a PART of the
cache.

Imagine an application A at /a/ coexist with an application B at /b/:
- Clearing the cache in B could exec `htcacheclean`clears everything.
- If multiple CacheRoot exist, the specific path of the cache must be known
explicitly to the application.

I suggest htcacheclean takes a --prefix (or --range / --match / ...) options
that would limit cleanup to a specific URL range/prefix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org