Anonymous Page Caching

Anonymous Page Caching allows you to cache content for anonymous users by removing set-cookie statements until needed.

Improve your time to first Byte and page speed without application code changes.

Anonymous Page Caching gives you the ability to cache full HTML documents for a higher percentage of users, reducing load on your origin servers and improving page speeds.

page load time

Gain faster page load times.

Websites that use Anonymous Page Caching have reported median page speed improvements of two times over previous speeds. Users get a better on-page experience when pages load quickly, and are more likely to stay on the page and browse to additional pages.

dynamic caching

Simple to utilize without code changes.

Cache full HTML documents without making complex application code changes. By caching for anonymous users, you ensure every new visitor to your site has a fast first page load time and good first impression of your website.

search engine optimization

See improved SEO results.

Studies have shown that faster page load time improves search engine ranking, meaning your pages are more likely to show up in search results on Google and other search engines. Get a leg up on the competition by improving Time to First Byte and overall load time.

Global delivery network

Reduce your hosting costs.

By caching HTML documents for a majority of visitors you will serve this content directly from the cache, which reduces the number of requests made to your web servers and the infrastructure needed to support requests. As a result of the decreased load on your origin servers you will experience lowered hosting costs. gives developers control over caching. gives developers a range of options for caching dynamic content, including full control over how they cache static objects, images, and dynamic content and the ability to instantly clear cache when changes are made.

In addition, is the only Edge PaaS Platform to offer Anonymous Page Caching and HTML Streaming, which allow for caching of dynamic content without the need for complex source code changes. This means with you can cache more content, more quickly, for better overall website performance.

Talk to a Developer

Anonymuos Page Caching: Technical Details

Anonymous Page Caching uses Varnish Cache and VCL to configure your application to cache HTML documents only when a user performs an action such as adding an item to their cart or logging in. It does this by removing all Set-Cookie statements from responses so that only an appropriate action (such as a POST to add to cart) sets a cookie.

Configure Varnish Cache to respond from cache for all pages until you see a session cookie in the HTTP request. At this point you can then PASS so that any session that has added to cart will always get the personalised version from the origin servers.

An example of the code you will deploy in your Varnish Cache on is in GitHub.