Randal L. Schwartz [RLS], on , , 2006 at 09:01 (-0800) contributed this to our collective wisdom:
"Ing>> Problem comes, when I want to cache webpage with forms (POST). RLS> This is strange. POST requests are not necessarily idempotent, and this is RLS> why caches never cache them. Perhaps you want to turn these POSTs into GETs RLS> instead, if you know that they are requests that do not change the state of RLS> the server, and then you can use a lower level solution like HTTP::Cache to RLS> transparently cache the requests for WWW::Mechanize to use. RLS> Otherwise, I can't understand why you would be caching a POST! Thanks Randal for nice reply. I just solved problem. I use foreign webpage, so I can't change GET/POST forms. That form I'm requesting is using POST (input variables for search - something like google with POST). But now I tried emulate that with GET and it works, so it is good. Ok, it is luck and I will use WWW::Mechanize::Cached; -- ...m8s, cu l8r, Brano. ["Mr. Garibaldi... it's a big universe."] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>