Well, the title says it all. I wanted to refresh my web site’s page cache, as some pages are very slow loading otherwise. The site can (with the Drupal Boost module) serve pages without having to reconstruct them if they are in the cache.
After some digging around and consolidating information from a number of sources, I came up with the following that reads the xml sitemap for the site then checks each page without downloading it. Remember to replace www. example.com/sitemap.xml with the correct URL for your sitemap.
In the winter, Armação dos Búzios is a quiet beach resort made famous by Brigitte Bardot (one of the pictures below is her statue). Apparently it is shoulder-to-shoulder packed in the summer. They call it the Saint-Tropez of South America. Heavily visited by South Americans (including plenty of Brazilians); very few from the USA. If you don't know some Portuguese, you’ll have to learn quickly—few people speak any English.
Brazil has many unusual birds. Unfortunately for us, our trip was brief and limited to urban areas, so we had little opportunity to see the wildlife. One of the birds that we did see this Masked Water-Tyrant (Fluvicola nengeta) in Armação dos Búzios, by the beach poking around in a little grassy strip of land.
In just a few lines of PHP code, this CAPTCHA will allow you to block most spambots. I developed this after some spammers discovered this web site’s contact form. There already were protections to avoid certain exploits (e. g., hijacking the form to send spam to third parties), but they still were able to send me spam emails.