kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject incubator-kudu-site git commit: Publish commit(s) from site source repo: 63b66f1 Control how content is cached on the Kudu web site
Date Thu, 23 Jun 2016 03:12:29 GMT
Repository: incubator-kudu-site
Updated Branches:
  refs/heads/asf-site bfd18cb36 -> e40915462


Publish commit(s) from site source repo:
  63b66f1 Control how content is cached on the Kudu web site

Site-Repo-Commit: 63b66f1711212e042b4b8970b8be2078903feae5


Project: http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/commit/e4091546
Tree: http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/tree/e4091546
Diff: http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/diff/e4091546

Branch: refs/heads/asf-site
Commit: e4091546250ba8fc12226c371fb68fd6d2a1f216
Parents: bfd18cb
Author: Todd Lipcon <todd@cloudera.com>
Authored: Wed Jun 22 20:12:15 2016 -0700
Committer: Todd Lipcon <todd@cloudera.com>
Committed: Wed Jun 22 20:12:15 2016 -0700

----------------------------------------------------------------------
 .htaccess | 18 ++++++++++++++++++
 feed.xml  |  2 +-
 junk.html |  1 -
 3 files changed, 19 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/blob/e4091546/.htaccess
----------------------------------------------------------------------
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 0000000..98e65a0
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,18 @@
+# Don't cache content or styles / scripts served by us.
+<FilesMatch "\.(html|js|css)$">
+  FileETag None
+  <IfModule mod_headers.c>
+     Header unset ETag
+     Header set Cache-Control "no-cache"
+  </IfModule>
+</FilesMatch>
+
+# Cache large files (e.g. images) for a short period of time.
+<FilesMatch "\.(gif|jpg|png)$">
+  FileETag None
+  <IfModule mod_headers.c>
+     Header unset ETag
+     # 5 minutes
+     Header set Cache-Control "max-age=300"
+  </IfModule>
+</FilesMatch>

http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/blob/e4091546/feed.xml
----------------------------------------------------------------------
diff --git a/feed.xml b/feed.xml
index 3bf4b80..724e9dd 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1,4 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><generator
uri="http://jekyllrb.com" version="2.5.3">Jekyll</generator><link href="/feed.xml"
rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html"
/><updated>2016-06-22T13:48:43-07:00</updated><id>/</id><entry><title>Apache
Kudu (incubating) Weekly Update June 21, 2016</title><link href="/2016/06/21/weekly-update.html"
rel="alternate" type="text/html" title="Apache Kudu (incubating) Weekly Update June 21, 2016"
/><published>2016-06-21T00:00:00-07:00</published><updated>2016-06-21T00:00:00-07:00</updated><id>/2016/06/21/weekly-update</id><content
type="html" xml:base="/2016/06/21/weekly-update.html">&lt;p&gt;Welcome to the fourteenth
edition of the Kudu Weekly Update. This weekly blog post
+<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><generator
uri="http://jekyllrb.com" version="2.5.3">Jekyll</generator><link href="/feed.xml"
rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html"
/><updated>2016-06-22T20:12:13-07:00</updated><id>/</id><entry><title>Apache
Kudu (incubating) Weekly Update June 21, 2016</title><link href="/2016/06/21/weekly-update.html"
rel="alternate" type="text/html" title="Apache Kudu (incubating) Weekly Update June 21, 2016"
/><published>2016-06-21T00:00:00-07:00</published><updated>2016-06-21T00:00:00-07:00</updated><id>/2016/06/21/weekly-update</id><content
type="html" xml:base="/2016/06/21/weekly-update.html">&lt;p&gt;Welcome to the fourteenth
edition of the Kudu Weekly Update. This weekly blog post
 covers ongoing development and news in the Apache Kudu (incubating) project.&lt;/p&gt;
 
 &lt;h2 id=&quot;development-discussions-and-code-in-progress&quot;&gt;Development
discussions and code in progress&lt;/h2&gt;

http://git-wip-us.apache.org/repos/asf/incubator-kudu-site/blob/e4091546/junk.html
----------------------------------------------------------------------
diff --git a/junk.html b/junk.html
deleted file mode 100644
index f519458..0000000
--- a/junk.html
+++ /dev/null
@@ -1 +0,0 @@
-Test junk file to trigger gitpubsub


Mime
View raw message