diff --git a/.htaccess b/.htaccess
index 2d65004..97e74fe 100644
--- a/.htaccess
+++ b/.htaccess
@@ -11,3 +11,7 @@ RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [QSA,L]
+
+
+Header set Cache-Control "max-age=604800, public"
+
\ No newline at end of file
diff --git a/assets/js/gopher.js b/assets/js/gopher.js
index 739853e..d31a0b2 100644
--- a/assets/js/gopher.js
+++ b/assets/js/gopher.js
@@ -157,6 +157,17 @@ GopherParser.prototype.entryToLink = function(e) {
return (str + '').replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, '$1' + breakTag + '$2');
}
+/* function urlify(text) {
+ var urlRegex = /(https?:\/\/[^\s]+)/g;
+ return text.replace(urlRegex, function(url) {
+ return '' + url + '';
+ })
+ // or alternatively
+ // return text.replace(urlRegex, '$1')
+ }
+*/
+
+
/**
* parse some gophertext and render some pretty HTML from it.
*
@@ -185,6 +196,9 @@ GopherParser.prototype.entryToLink = function(e) {
else {
$(this).html(nl2br(data));
}
+
+// $(this).html(urlify(data));
+
}
else {
entries = parser.parseGopher(data);
diff --git a/assets/js/site.js b/assets/js/site.js
index ff6ed1c..ec96dd7 100644
--- a/assets/js/site.js
+++ b/assets/js/site.js
@@ -193,4 +193,4 @@ $(document).ready(function() {
if ( window.location.pathname != "/" && $("#intro").hasClass("hide") ) {
loadGopherUri(unescape(window.location.pathname));
}
-});
\ No newline at end of file
+});
diff --git a/templates/about.html b/templates/about.html
index 316d6b5..43b675b 100644
--- a/templates/about.html
+++ b/templates/about.html
@@ -5,7 +5,7 @@
died off in the late 1990s, partially because of some poor decisions
by the University of Minnesota (which owned the licensing rights,
and decided
- to charge for use), and also because HTTP and HTML was
+ to charge for use), and of course also because HTTP and HTML was
undoubtedly a better system for what became the World Wide Web.
diff --git a/templates/home.html b/templates/home.html
index 3c4a20c..d9bab7b 100644
--- a/templates/home.html
+++ b/templates/home.html
@@ -83,11 +83,9 @@
-
-
+
- -->