Shared Hosting for Everyone, imagined by developers, for developers.Discovering the Public Cloud
To speed up access to your website, you can set up the HTTP cache. Here are the steps required to do this:
So that the cache can query the upstream to determine that the targeted
resource has not been changed, the application must provide the
A response CANNOT be cached if:
Vary header is
Content-Type header is not present,
Content-Type is not one of the following values:
Cache-Control header takes one of the following values:
Set-Cookie header is present,
Authorization header exists, but
Cache-Control takes none of
the following values:
The HTTP status code is not one of the following:
This is done in Web > Sites > Edit the [site] - ⚙️ > Cache.
PURGE can be executed in three different ways at alwaysdata:
https://test.alwaysdata.net/foo/bar). This will remove the related cache entry and its variations (generated by the
X-Cache-Purge-Match: wildcardheader and adding a wildcard to your URL (e.g.
https://test.alwaysdata.net/*). This will remove all entries matching the URL template;
X-Cache-Purge-Match: startswithheader and adding a partial path to your URL (e.g.
https://test.alwaysdata.net/foo). This will remove all entries matching the URL template (and thus