Skip to content
Newer
Older
100644 92 lines (71 sloc) 3.1 KB
0d840b6 @d0ugal Added GH page.
d0ugal authored
1 <!doctype html>
2 <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
3 <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
4 <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
5 <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
6 <head>
7 <meta charset="utf-8">
8 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9
10 <title>locache.js</title>
11 <meta name="description" content="">
12 <meta name="author" content="">
13
14 <meta name="viewport" content="width=device-width,initial-scale=1">
6d5e42b @d0ugal Renamed GH page directory.
d0ugal authored
15 <link rel="stylesheet" href="gh-pages/css/style.css">
0d840b6 @d0ugal Added GH page.
d0ugal authored
16
6d5e42b @d0ugal Renamed GH page directory.
d0ugal authored
17 <script src="gh-pages/js/libs/modernizr-2.0.6.min.js"></script>
0d840b6 @d0ugal Added GH page.
d0ugal authored
18 <link href='http://fonts.googleapis.com/css?family=Droid+Serif:700italic' rel='stylesheet' type='text/css'>
19
20 </head>
21
22 <body>
23
24 <div id="container">
25
26 <header>
27 <h1><a href="/">locache.js</a></h1>
28 <h2>
29 JavaScript client side caching.
30 </h2>
31 </header>
32
33 <div id="main" role="main">
34
35 <div class="block block_list one">
36 <h2>What? Why? When?</h2>
37 <p>
38 locache.js is a simple framework to help you cache objects on the
39 client-side. It's not a replacement for HTTP caching, and often that
40 is a better idea. Rather it allows you to cache JavaScript objects (
41 anything that is JSON serialisable) for re-use or offline usage. You
42 can optionally provide an expiration time for cached objects.
43 </p>
44 </div>
45
46 <div class="block block_list two">
19fd9a0 @d0ugal Improved building.
d0ugal authored
47 <h2>Download</h2>
48
49 <p>Download locache either
50 <a href="build/locache.js">with annotated source (~12 kb)</a> or
51 <a href="build/locache.min.js">production ready and minified (~4 kb)</a>
52 </p>
53
54 </div>
55
56 <div class="block block_list two">
0d840b6 @d0ugal Added GH page.
d0ugal authored
57 <h2>Usage</h2>
58 <script src="https://gist.github.com/2343136.js?file=gistfile1.js"></script>
59 </div>
60
61 <div class="block block_list one">
62 <h2>Documentation, code and test</h2>
63 <p>
64 <a href="docs/locache.html">View annotated source</a><br/>
65 <a href="https://github.com/d0ugal/locache">View the code</a><br/>
66 <a href="tests/index.html">Run the tests</a>
67 </p>
68 </div>
69
70 <div class="clearfix"></div>
71
72 </div>
73
74 <footer>
75 A project brought to you by <a href="http://dougalmatthews.com">
76 Dougal Matthews</a> and
77 <a href="https://github.com/d0ugal/locache/contributors">contributors</a>
78 </footer>
79
80 </div>
81
db3a4ac @d0ugal Fixed the fork me link
d0ugal authored
82 <a href="http://github.com/you"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/camo.github.com/abad93f42020b733148435e2cd92ce15c542d320/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub"></a>
0d840b6 @d0ugal Added GH page.
d0ugal authored
83
84 <script> // Change UA-XXXXX-X to be your site's ID
ac0ce34 @d0ugal Updated style
d0ugal authored
85 window._gaq = [['_setAccount','UA-30710441-1'],['_trackPageview'],['_trackPageLoadTime']];
0d840b6 @d0ugal Added GH page.
d0ugal authored
86 Modernizr.load({
87 load: ('https:' == location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js'
88 });
89 </script>
90
91 </body>
92 </html>
Something went wrong with that request. Please try again.