Hi Sudheer,
Recompiled the ATS with --enable-experimental-plugins. Below is the
configs I have done. Is this enough? Is there any specific logs
generated for this plugin? How to verify?
*background_fetch.config:*
[root@ats trafficserver]# cat background_fetch.config
exclude Content -Length < 1000
include Content-Type video/x-flv
include Content-Type video/mp4
include Content-Type video/x-msvideo
include Content-Type video/x-ms-wmv
exclude Content-Type text
include Content-Type video/quicktime
include Content-Type video/3gpp
include Content-Type application/octet-stream
*Plugin.config Entry:*
background_fetch.so --config background_fetch.config
*On service restart Logs show plugin loaded:*
[Feb 4 08:07:14.163] Server {0x2b3cf2498340} NOTE: <Plugin.cc:84
(plugin_load)> loading plugin
'/usr/local/libexec/trafficserver/background_fetch.so'
On 2/4/2016 5:30 PM, Muhammad Faisal wrote:
Thanks for update I was wondering since there was no .so file in the
libexec directory :)
On 2/4/2016 5:23 PM, Sudheer Vinukonda wrote:
Sorry for the typo..
I meant to say,
.....you will *need to* build experimental....
On Thursday, February 4, 2016, 4:17 AM, Sudheer Vinukonda
<[email protected]> wrote:
Prefetch is a deprecated feature (and is unrelated to byte range
caching, afaict).
We are using background_fetch plugin to cache full objects in the
background, on receiving byte range requests.
https://docs.trafficserver.apache.org/en/6.0.x/reference/plugins/background_fetch.en.html
To use background_fetch plugin, you will not build experimental
plugins and activate the plugin via plugin.config. Please read
through the documentation on how to build experimental plugins.
Thanks!
Sudheer
On Wednesday, February 3, 2016, 10:47 PM, Muhammad Faisal
<[email protected]> wrote:
Hi Sudheer,
Please guide further I have enabled prefetch in the config
and uncomment the default html tags:
CONFIG proxy.config.prefetch.prefetch_enabled INT 1
Is there any other configuration in addition to the above is
required? I have found many other configuration which are
currently not present in my records.config see below:
proxy.config.prefetch.child_port INT 39679
proxy.config.prefetch.config_file STRING prefetch.config
proxy.config.prefetch.default_data_proto STRING tcp
proxy.config.prefetch.default_url_proto STRING tcp
proxy.config.prefetch.keepalive_timeout INT 900
proxy.config.prefetch.max_object_size INT1000000000 <tel:1000000000>
proxy.config.prefetch.max_recursion INT 0
proxy.config.prefetch.push_cached_objects INT 1
proxy.config.prefetch.redirection INT 0
proxy.config.prefetch.url_buffer_size INT 0
proxy.config.prefetch.url_buffer_timeout INT 0
Please guide.
Thanks
F.
On 2/2/2016 5:42 PM, Sudheer Vinukonda wrote: