Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guilhem/cachanais
Populate cache by crawling pages
https://github.com/guilhem/cachanais
cache crawler hacktoberfest
Last synced: 19 days ago
JSON representation
Populate cache by crawling pages
- Host: GitHub
- URL: https://github.com/guilhem/cachanais
- Owner: guilhem
- License: apache-2.0
- Created: 2022-07-03T11:11:28.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-02T13:07:21.000Z (over 2 years ago)
- Last Synced: 2024-11-04T21:23:47.239Z (2 months ago)
- Topics: cache, crawler, hacktoberfest
- Language: Go
- Homepage:
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cachanais
Populate cache by crawling pages.
## Why
When purging cache (or restaring), you may want to repopulate cache.
_cachanais_ crawl pages by following `href`.## Usage
* basic
``` shell
$ 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
``` shell
$ 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
``` shell
$ 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
```## Name
_cachanais_ is the gentile of the city of _Cachan_.
Because we populate cache.