change to tests

This commit is contained in:
Stian Lund
2024-08-27 16:39:18 +02:00
parent 6bf6da728f
commit 6430a0cbcf
4 changed files with 31 additions and 25 deletions
+17 -16
View File
@@ -1,16 +1,17 @@
<html>
<head>
<title>Cache Test</title>
</head>
<body>
<img width=400 height=225 src="vivaldi.jpg">
<form method="get" action="touch.php">
<p>
<input type="submit" value="Touch Image" alt="Touch Image">
</p>
</form>
</body>
</html>
<html>
<head>
<title>Cache Test</title>
<link rel="stylesheet" href="style1.css">
</head>
<body>
<img width=400 height=225 src="vivaldi.jpg">
<form method="get" action="touch.php">
<p>
<input type="submit" value="Touch Image" alt="Touch Image">
</p>
</form>
</body>
</html>
Vendored Executable
+1
View File
@@ -0,0 +1 @@
body { background: black; }
Vendored Executable
+1
View File
@@ -0,0 +1 @@
body { background: gray; }
+12 -9
View File
@@ -1,9 +1,12 @@
<?php
$wd = getcwd();
$image = "$wd/vivaldi.jpg";
ignore_user_abort(true);
system("touch $image");
header("Location: index.html");
?>
<?php
$wd = getcwd();
$image = "$wd/vivaldi.jpg";
ignore_user_abort(true);
system("touch vivaldi.jpg");
system("mv style1.css style.tmp; mv style2.css style1.css; mv style.tmp style2.css");
system("touch style1.css");
header("Location: index.html");
?>