I have a setup for ecommerce site with Nginx and Varnish. Although I have a cache warmer in my php application I need a script in server level which will load a txt file for hitting with curl some links in my domain and put them in Varnish with cron. I have the txt file with each url in one line.

Can anyone help me how to it please?

  • wget --input-file? – Ginnungagap Sep 2 '19 at 22:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.