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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]