httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45149] New: Provide cache purge as a normal handler usable through a configurable url
Date Fri, 06 Jun 2008 11:30:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45149

           Summary: Provide cache purge as a normal handler usable through a
                    configurable url
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: mod_cache
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rahul@sun.com


Created an attachment (id=22086)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22086)
A handler to provide cache purge operation

A simple minded cache purge.
    1) does not understand variants.
    2) takes input as a post request with a number of URLs one per line
    3) generates our own request, so should be possible to add vary &
        headers
configuration
-------------
<Location /cache>
    SetHandler meta_cache
</Location>

invoke e.g

$cat > url.file
/index.html
http://webproxy.india.sun.com/index.html
^D

$wget --post-file url.file 'http://agneyam.india.sun.com:8080/cache?purge'


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message