eliashaeussler / cache-warmup

🔥 PHP library to warm up caches of URLs located in XML sitemaps

Home Page:https://cache-warmup.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[FEATURE] run forever option

danielslyman opened this issue · comments

Is your feature request related to a problem?

I would like to have the option to have the docker container run forever and periodically execute.

https://github.com/Pixep/crowlet

This is another cache-warmer which I tried, I much prefer yours. I set at cronjob for now, but I feel like a "forever" option would be more elegant.

Thanks!
Daniel

Describe the solution you'd like

I would love something like this:

docker run --rm -it eliashaeussler/cache-warmup:latest 'https://website.com/cache.xml' '--verbose' '--allow-failures' '-p' '--forever' '--wait-interval 1800'

Describe alternatives you've considered

https://github.com/Pixep/crowlet

Additional context

No response

Hi @danielslyman, thanks for your feature request. This sounds like a good idea. I will have a look at it.

Thanks, much appreciated!

Hi @danielslyman, this feature will be part of the 2.0.0 release. See #208 for more details.

@danielslyman The 2.0.0 release is out now. Have fun with it 🚀

Thanks a lot! This amazing :)