Re: [Mojolicious] LWP::UserAgent::Cached substitute?

2018-11-20 Thread Dan Book
I'm not sure why you say it wouldn't be usable with Mojolicious.
Mojolicious doesn't care what other modules you use. LWP won't be capable
of non-blocking queries like Mojo::UserAgent will of course, but that's
usually not important for the command line. If you want to do it with
Mojo::UserAgent try https://metacpan.org/pod/Mojo::UserAgent::Role::Cache.

-Dan

On Tue, Nov 20, 2018 at 8:44 PM  wrote:

> Hi folks,
>
> First time poster.
>
> I have some command line apps that use LWP with LWP::UserAgent::Cached
> for the local file-based cache to get() and later parse pages.  I need to
> use this local page cache so that I don't hit the web server repeatedly for
> unchanged pages.  I was hoping to use Mojolicious, but prefer not to try
> to re-implement this caching.
>
> It doesn't appear that LWP::UserAgent::Cached would be usable with
> Mojolicious, and don't see anything readily available as an alternative.
>
> Any advice?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Mojolicious" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mojolicious+unsubscr...@googlegroups.com.
> To post to this group, send email to mojolicious@googlegroups.com.
> Visit this group at https://groups.google.com/group/mojolicious.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.


[Mojolicious] LWP::UserAgent::Cached substitute?

2018-11-20 Thread eight . dancing . monkeys
Hi folks,

First time poster.

I have some command line apps that use LWP with LWP::UserAgent::Cached for 
the local file-based cache to get() and later parse pages.  I need to use 
this local page cache so that I don't hit the web server repeatedly for 
unchanged pages.  I was hoping to use Mojolicious, but prefer not to try to 
re-implement this caching.

It doesn't appear that LWP::UserAgent::Cached would be usable with 
Mojolicious, and don't see anything readily available as an alternative.

Any advice?

-- 
You received this message because you are subscribed to the Google Groups 
"Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mojolicious+unsubscr...@googlegroups.com.
To post to this group, send email to mojolicious@googlegroups.com.
Visit this group at https://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/d/optout.