yagcdn/frontend/template.html
Valentin Brandl 7fbf0a3011
All checks were successful
continuous-integration/drone/push Build is passing
Typos
2019-08-10 15:10:28 +02:00

67 lines
1.6 KiB
HTML

<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Serve Raw files from GitHub, GitLab or Bitbucket with proper content-type headers" />
<link rel="stylesheet" href="./assets/tacit-css.min.css" />
<title>YaGCDN - Yet Another Git CDN</title>
</head>
<body>
<section>
<header>
<h1>YaGCDN - Yet Another Git CDN</h1>
</header>
<article>
<div id="elm-${SHA1}"></div>
<script src="./scripts/yagcdn-${SHA1}.min.js">
</script>
<script>
var app = Elm.Main.init({ node: document.getElementById("elm-${SHA1}") });
</script>
<h2>Caching</h2>
<p>Files from a specific commit are cached in the CDN for one year.</p>
<p>Redirects for tags and branches are cached for 5 minutes.</p>
<h2>Invalidating the Cache</h2>
<p>To delete a file from the cache, just request the file via HTTP <code>DELETE</code></p>
<h2>Contact</h2>
<p>
If you want to contact me, you can <a href="mailto:mail+yagcdn@vbrandl.net">drop me a mail</a>. Feature requests can be
made <a href="https://github.com/vbrandl/yagcdn/issues">via GitHub issue</a>.
</p>
</article>
<footer>
<nav>
<ul>
<li>
<small>Created by <a href="https://www.vbrandl.net/">Valentin Brandl</a>.</small>
</li>
</ul>
</nav>
<nav>
<ul>
<li>
<small><a href="https://github.com/vbrandl/yagcdn">Repository</a></small>
</li>
<li>
<small><a href="https://opensource.org/licenses/MIT">MIT License</a></small>
</li>
</ul>
</nav>
</footer>
</section>
</body>
</html>