Skip to content

Commit

Permalink
Add application cache, references #38
Browse files Browse the repository at this point in the history
Add manifest file for cache. Needs testing to see if browsers really cache
assets and other files.
  • Loading branch information
fdavidcl committed Mar 17, 2015
1 parent b7f7802 commit 9a06197
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html manifest="{{ site.baseurl }}/manifest.appcache">
<head>
<link rel="stylesheet" href="//yandex.st/highlightjs/8.0/styles/github.min.css">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" />
Expand Down
22 changes: 22 additions & 0 deletions manifest.appcache
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
---
CACHE MANIFEST

CACHE:
css/default.css
assets/logo.png
assets/sq_comment.png
assets/sq_diaspora.png
assets/sq_facebook.png
assets/sq_feedly.png
assets/sq_twitter.png
js/highlight.pack.js
//yandex.st/highlightjs/8.0/styles/github.min.css
//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css
//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css
//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-min.css
//ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js
https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML

NETWORK:
*

0 comments on commit 9a06197

Please sign in to comment.