history testing infrastructure

This commit is contained in:
carson 2021-02-13 07:35:40 -07:00
parent edbbaee638
commit aab37c8825
5 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="application/javascript" src="../../../src/htmx.js"></script>
<title>History - 1</title>
</head>
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
<h1>History Test</h1>
<a href="1.html">1</a>
<a href="2.html">2</a>
<a href="3.html">3</a>
<a href="4.html">4</a>
<h3>Page 1</h3>
</body>
</html>

View File

@ -0,0 +1,15 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="application/javascript" src="../../../src/htmx.js"></script>
<title>History - 2</title>
</head>
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
<h1>History Test</h1>
<a href="1.html">1</a>
<a href="2.html">2</a>
<a href="3.html">3</a>
<a href="4.html">4</a>
<h3>Page 2</h3>
</body>
</html>

View File

@ -0,0 +1,15 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="application/javascript" src="../../../src/htmx.js"></script>
<title>History - 3</title>
</head>
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
<h1>History Test</h1>
<a href="1.html">1</a>
<a href="2.html">2</a>
<a href="3.html">3</a>
<a href="4.html">4</a>
<h3>Page 3</h3>
</body>
</html>

View File

@ -0,0 +1,15 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="application/javascript" src="../../../src/htmx.js"></script>
<title>History - 4</title>
</head>
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
<h1>History Test</h1>
<a href="1.html">1</a>
<a href="2.html">2</a>
<a href="3.html">3</a>
<a href="4.html">4</a>
<h3>Page 4</h3>
</body>
</html>

View File

@ -0,0 +1,19 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<script type="application/javascript" src="../../../src/htmx.js"></script>
<title>History - Index</title>
<meta name="htmx-config" content='{"historyCacheSize":2}'>
<script>
htmx.logAll();
</script>
</head>
<body style="padding:20px;font-family: sans-serif" hx-boost="true">
<h1>History Test</h1>
<a href="1.html">1</a>
<a href="2.html">2</a>
<a href="3.html">3</a>
<a href="4.html">4</a>
<h3>Index</h3>
</body>
</html>