Re: trying cache post request for some sites failed

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Mon, 22 Jun 2009 19:27:45 +0200

mån 2009-06-22 klockan 19:46 +0700 skrev johan firdianto:

> yes, absolutely.
> In a file sharing sites, in order to download a file they use POST method.
> after i analyze their uri of POST is unique enough. So whatever next
> request post method, as long as uri of post method is same and
> different data that POST:ed will return the same file/object.
> So my aim is to cache the response of POST, after that I pull the
> object out of swap cache (using curl or wget), and put in the other
> directory.

Another way is to write a small ICAP servlet implementing this cache
function.

Regards
Henrik
Received on Mon Jun 22 2009 - 17:27:56 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 24 2009 - 12:00:05 MDT