Cache Test

This page is meant for testing caching.
It was built on the %%BRANCH%% branch of the %%PROJECT_PATH%% project in Job %%JOB_ID%% at %%JOB_TIMESTAMP%%.
The current site revision is
%%COMMIT_SHA%%
from %%COMMIT_TIMESTAMP%%.
Here's a static CSS file: style.css
Here's a static image: gitlab-logo.png
Here's a symlink to this same page: cache-test-symlink.html
Path Fudging
The server for GitLab Pages does some path fudging to make user experience better, but you have to make sure you account for that fudging when you purge the cache by URLs. The fudging rules are:
- Directories can be accessed with or without a trailing slash.
- Files can be accessed with or without a trailing slash.
-
Files with the
.html
extension can be accessed with or without the file extension.
So every HTML file has four URLs it can be accessed on, and every other file and directory has two. Here are some examples: