Seems like it would be dangerous to enable PUSH on a proxy that is accessible to untrusted clients. I guess you could set proxy.local.incoming_ip_to_bind to a loopback address on a second instance of ATS, and use remap rules to access content pushed to it.
Could it be that the cache control headers of the third-party content prevent it from being cached? On Wed, Apr 17, 2024 at 11:36 AM Pavel Vazharov <pa...@x3me.net> wrote: > Hi Brian, > > Thank you for your response. > It'll do the job but, as far as I understand it, an external functionality > will need to download the content in order to push it into the ATS. > The content that I want to write in the ATS storage is on the Internet. > > Regards, > Pavel. > > On Wed, Apr 17, 2024 at 6:26 PM Brian Neradt <brian.ner...@gmail.com> > wrote: > >> Hi Pavel, >> >> This isn't a direct answer to your question, but are you aware of the ATS >> HTTP PUSH feature? That allows you to push objects into the ATS cache >> without the typical caching of proxied response. Can that help you in this >> situation? >> >> >> https://docs.trafficserver.apache.org/en/latest/admin-guide/configuration/cache-basics.en.html#pushing-content-into-the-cache >> <https://urldefense.com/v3/__https://docs.trafficserver.apache.org/en/latest/admin-guide/configuration/cache-basics.en.html*pushing-content-into-the-cache__;Iw!!Op6eflyXZCqGR5I!Fd2IyeiAblRE5dSqGt5VMcM_96LFFNko6_C1uSy6puDEI9WRcEtBxEsWVLKtIu1zaVKNbspY4bAU$> >> >> >> On Wed, Apr 17, 2024 at 8:41 AM Pavel Vazharov <pa...@x3me.net> wrote: >> >>> Hi there, >>> >>> Is there a way to use the ATS as an HTTP client to download and store >>> given content? >>> I'm aware that I can achieve this with a local HTTP client (wget, curl) >>> which uses the ATS as a forward proxy and then the ATS will store the >>> content (which is the actual goal). >>> I was wondering if there is a way without using an additional HTTP >>> client so that I can skip the additional content moving between sockets. >>> >>> Thanks, >>> Pavel. >>> >> >> >> -- >> "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 >> >