Every visitor to a page might ask for the same stylesheet. With a content delivery network, or CDN, a server closer to the visitor can answer those requests from a saved copy. By late 2018 our guides showed how to set this up on Peakhour while keeping the stylesheet at the address already used on your site.

The software that sits between visitors and the website, called a reverse proxy, had been in development well before Peakhour was founded in 2017. The earliest archive contains cache and purge tests from 2012. By 2018 site operators could point their domains at Peakhour, keep their own web servers and let the CDN fetch and save eligible responses.

What customers could control

Say you’ve fixed a layout bug and published a new stylesheet at the same URL. In the dashboard, you could find that file and purge it, clearing the old copy so Peakhour would fetch the update on the next request. A site-wide purge meant the website’s server had to supply many more fresh copies.

The early cache could also treat a version number after the ? in a stylesheet URL as a different file. A rule could send requests with a sign-in cookie back to the website’s server so it could prepare the page for that visitor. Those choices matter as soon as you start caching pages as well as files.

For the current rules and examples, see the Peakhour caching overview. Release history