Populate cache by crawling pages.
When purging cache (or restaring), you may want to repopulate cache.
cachanais crawl pages by following href
.
- basic
$ cachanais --url https://my-website.com
Visiting https://my-website.com/
Visiting https://my-website.com/page1
Visiting https://my-website.com/page2
- with an ssl offloader
$ cachanais --url https://my-website.com --address http://localhost:8080
Visiting https://localhost:8080/
Visiting https://localhost:8080/page1
Visiting https://localhost:8080/page2
- with custom headers and cookies
$ cachanais --url https://my-website.com --address http://localhost:8080 --cookies mycookie:value --headers X-My-Header:value
Visiting https://localhost:8080/
Visiting https://localhost:8080/page1
Visiting https://localhost:8080/page2
cachanais is the gentile of the city of Cachan. Because we populate cache.