Warming up cache based on sitemap.xml
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
warmup.rb

README.md

CacheWarmUp

Warming up cache based on sitemap.xml

You can use the tool on the server (sometimes preferable, just think about speed and network traffic) or from other computers.

Basic usage:

$ ./warmup.rb www.someurl.tld

Basics

It will

I use the quick and simple Ruby thread pool from Kim Burgestrand (X11 License), http://burgestrand.se/articles/quick-and-simple-ruby-thread-pool.html I include it in the code so it's self contained.

Requirements

Requirements are:

  • Ruby
  • threads
  • net/http

So basically everything you need is a basic Ruby installation.