I'm newbie to varnish. I want to to serve all the request from the varnish cache. My backend asked content from CDN and also from other location. Like
My varnish is example.com backend IP 123.123.123.123 backend url request abc.jpg with a link http://web.example.com/api/abc.jpg and some CDN content like https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js
Normally they are not being cached. Served directly to the client browser from their origin location. How to use varnish cache all of them and set a cache lifetime ?
Thanks in advance
question from:https://stackoverflow.com/questions/66054428/varnish-caching-external-content-requested-by-backend-url