Homepage Cache Test Subdirectory Repository

Cache Test

GitLab logo

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:

So every HTML file has four URLs it can be accessed on, and every other file and directory has two. Here are some examples: