-
Notifications
You must be signed in to change notification settings - Fork 369
Expand file tree
/
Copy pathindex.cshtml
More file actions
48 lines (41 loc) · 1.92 KB
/
index.cshtml
File metadata and controls
48 lines (41 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@{
Response.Cache.SetValidUntilExpires(true);
Response.Cache.SetExpires(DateTime.Now.AddDays(1));
Response.Cache.SetCacheability(HttpCacheability.Public);
string file = Server.MapPath(Request.CurrentExecutionFilePath);
string css = Server.MapPath("~/content/all.min.css");
string js = Server.MapPath("~/scripts/script.min.js");
string data = Server.MapPath("~/app_data/items.xml");
Response.Cache.SetLastModified(File.GetLastWriteTimeUtc(file));
Response.AddFileDependencies(new[] { file, css, js, data });
Response.AddHeader("P3P", "CP=\"NOI DSP COR ADMa IVDa OUR NOR\"");
}
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>Web Developer Checklist</title>
<meta charset="utf-8" />
<meta name="keywords" content="checklist, best practices, web development, performance, usability, mobile, website" />
<meta name="description" content="The ultimate checklist for all serious web developers building modern websites" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes" />
<link rel="stylesheet" href="@Fingerprint.Tag("/content/all.min.css")" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<script src="/Scripts/modernizr-2.6.2.js"></script>
</head>
<body>
<header itemscope itemtype="http://schema.org/WebApplication">
<h1 itemprop="name">Web Developer Checklist</h1>
</header>
<aside><a href="https://github.com/ligershark/webdevchecklist.com"><span class="ghFork"></span></a></aside>
<div id="main">
@RenderPage("~/views/_data.cshtml", null)
</div>
<footer>
<a href="#" id="clearall">Clear all</a>
<progress value="1" max="100">
<span id="fallback"> </span>
</progress>
</footer>
<script src="@Fingerprint.Tag("/scripts/script.min.js")" async="async"></script>
</body>
</html>