You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@trafficserver.apache.org by Randy DuCharme <ra...@ad5gb.com.INVALID> on 2021/09/20 08:15:40 UTC
Prefetch plugin?
Greetings,
So I got a "wild hair" to do some experimentin' with the experimental
prefetch plugin. I went about setting it up in the same manner I have
other plugins (.so filename entry in the plugin.config file with a
configuration file as the argument) but ATS complained that there was no
TSPluginInit() to be found. It was right, I couldn't find one either.
I also couldn't find anything instructing me to use this plugin any
differently.
Have I missed the instructions somewhere or is this still a
non-functional plugin?
Many thanks!
--
Randall DuCharme (Radio AD5GB)
Powered entirely by Open Source software.
Re: Prefetch plugin?
Posted by Brian Neradt <br...@gmail.com>.
No problem. Thanks for using Traffic Server.
On Mon, Sep 20, 2021 at 8:54 AM Randy DuCharme <ra...@ad5gb.com.invalid>
wrote:
> Thanks Brian,
>
> I guess I didn't read hard or long enough - again. LOL. Seems I do that
> more often than I like. I found out during all of this that the
> Metalink plugin crashes ATS for some reason. Though I had it enabled
> some time ago but it was commented out of my config. I've got a couple
> things to play with now I guess!! LOL
>
> Thanks again for the clarification and the links!!!
>
>
>
> On 9/20/2021 8:39 AM, Brian Neradt wrote:
> > Hi Randy,
> >
> > The Prefetch Plugin is a remap plugin. Remap plugins are described here:
> >
> https://docs.trafficserver.apache.org/en/latest/developer-guide/plugins/remap-plugins.en.html
> >
> > That means it is configured via remap.config rather than plugin.config
> > (though some plugins are configured via both plugin.config and
> > remap.config). This walks through an example for the Prefetch Plugin:
> >
> https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/prefetch.en.html?highlight=prefetch%20plugin#usage
> >
> > Thanks,
> >
> >
> > On Mon, Sep 20, 2021 at 3:16 AM Randy DuCharme <ra...@ad5gb.com.invalid>
> > wrote:
> >
> >> Greetings,
> >>
> >> So I got a "wild hair" to do some experimentin' with the experimental
> >> prefetch plugin. I went about setting it up in the same manner I have
> >> other plugins (.so filename entry in the plugin.config file with a
> >> configuration file as the argument) but ATS complained that there was no
> >> TSPluginInit() to be found. It was right, I couldn't find one either.
> >> I also couldn't find anything instructing me to use this plugin any
> >> differently.
> >>
> >> Have I missed the instructions somewhere or is this still a
> >> non-functional plugin?
> >>
> >> Many thanks!
> >>
> >> --
> >> Randall DuCharme (Radio AD5GB)
> >> Powered entirely by Open Source software.
> >>
> >>
> --
> Randall DuCharme (Radio AD5GB)
> Powered entirely by Open Source software.
>
> --
"Come to Me, all who are weary and heavy-laden, and I will
give you rest. Take My yoke upon you and learn from Me, for
I am gentle and humble in heart, and you will find rest for
your souls. For My yoke is easy and My burden is light."
~ Matthew 11:28-30
Re: Prefetch plugin?
Posted by Randy DuCharme <ra...@ad5gb.com.INVALID>.
Thanks Brian,
I guess I didn't read hard or long enough - again. LOL. Seems I do that
more often than I like. I found out during all of this that the
Metalink plugin crashes ATS for some reason. Though I had it enabled
some time ago but it was commented out of my config. I've got a couple
things to play with now I guess!! LOL
Thanks again for the clarification and the links!!!
On 9/20/2021 8:39 AM, Brian Neradt wrote:
> Hi Randy,
>
> The Prefetch Plugin is a remap plugin. Remap plugins are described here:
> https://docs.trafficserver.apache.org/en/latest/developer-guide/plugins/remap-plugins.en.html
>
> That means it is configured via remap.config rather than plugin.config
> (though some plugins are configured via both plugin.config and
> remap.config). This walks through an example for the Prefetch Plugin:
> https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/prefetch.en.html?highlight=prefetch%20plugin#usage
>
> Thanks,
>
>
> On Mon, Sep 20, 2021 at 3:16 AM Randy DuCharme <ra...@ad5gb.com.invalid>
> wrote:
>
>> Greetings,
>>
>> So I got a "wild hair" to do some experimentin' with the experimental
>> prefetch plugin. I went about setting it up in the same manner I have
>> other plugins (.so filename entry in the plugin.config file with a
>> configuration file as the argument) but ATS complained that there was no
>> TSPluginInit() to be found. It was right, I couldn't find one either.
>> I also couldn't find anything instructing me to use this plugin any
>> differently.
>>
>> Have I missed the instructions somewhere or is this still a
>> non-functional plugin?
>>
>> Many thanks!
>>
>> --
>> Randall DuCharme (Radio AD5GB)
>> Powered entirely by Open Source software.
>>
>>
--
Randall DuCharme (Radio AD5GB)
Powered entirely by Open Source software.
Re: Prefetch plugin?
Posted by Brian Neradt <br...@gmail.com>.
Hi Randy,
The Prefetch Plugin is a remap plugin. Remap plugins are described here:
https://docs.trafficserver.apache.org/en/latest/developer-guide/plugins/remap-plugins.en.html
That means it is configured via remap.config rather than plugin.config
(though some plugins are configured via both plugin.config and
remap.config). This walks through an example for the Prefetch Plugin:
https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/prefetch.en.html?highlight=prefetch%20plugin#usage
Thanks,
On Mon, Sep 20, 2021 at 3:16 AM Randy DuCharme <ra...@ad5gb.com.invalid>
wrote:
> Greetings,
>
> So I got a "wild hair" to do some experimentin' with the experimental
> prefetch plugin. I went about setting it up in the same manner I have
> other plugins (.so filename entry in the plugin.config file with a
> configuration file as the argument) but ATS complained that there was no
> TSPluginInit() to be found. It was right, I couldn't find one either.
> I also couldn't find anything instructing me to use this plugin any
> differently.
>
> Have I missed the instructions somewhere or is this still a
> non-functional plugin?
>
> Many thanks!
>
> --
> Randall DuCharme (Radio AD5GB)
> Powered entirely by Open Source software.
>
>
--
"Come to Me, all who are weary and heavy-laden, and I will
give you rest. Take My yoke upon you and learn from Me, for
I am gentle and humble in heart, and you will find rest for
your souls. For My yoke is easy and My burden is light."
~ Matthew 11:28-30