DPDK website maintenance
 help / color / mirror / Atom feed
* [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN
@ 2016-05-23 22:28 Thomas Monjalon
  2016-05-23 22:28 ` [dpdk-web] [PATCH 1/2] redirect big static files to the CDN Thomas Monjalon
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Thomas Monjalon @ 2016-05-23 22:28 UTC (permalink / raw)
  To: web

Thanks to the help from Fastly (https://www.fastly.com/open-source),
there is now a CDN for dpdk.org.
It is simply a distributed varnish cache with an API and a nice dashboard.

In order to ease understanding of cache behaviour, only the big files
(mainly release tarballs) are cached.
The new domain fast.dpdk.org, hosted by Fastly, mirrors the domain
static.dpdk.org which keeps the same tree as dpdk.org but only for
big static files. There is no HTML file on these domains.
So the domain static.dpdk.org acts as gateway between the full website
origin and the distributed static files. There is no benefit of directly
using static.dpdk.org from your browser, except for website troubleshooting.

Thomas Monjalon (2):
  redirect big static files to the CDN
  add releases page

 about.html        |  4 +--
 content.css       | 23 +++++++++++++++
 doc.html          |  2 +-
 doc/archives.html |  8 ++---
 download.html     |  6 ++--
 rel.html          | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 120 insertions(+), 10 deletions(-)
 create mode 100644 rel.html

-- 
2.7.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [dpdk-web] [PATCH 1/2] redirect big static files to the CDN
  2016-05-23 22:28 [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon
@ 2016-05-23 22:28 ` Thomas Monjalon
  2016-05-24 14:34   ` Van Haaren, Harry
  2016-05-23 22:28 ` [dpdk-web] [PATCH 2/2] add releases page Thomas Monjalon
  2016-05-24 15:52 ` [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2016-05-23 22:28 UTC (permalink / raw)
  To: web

The domain fast.dpdk.org is a CDN.
It will give faster access to big files.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 about.html        | 4 ++--
 doc.html          | 2 +-
 doc/archives.html | 8 ++++----
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/about.html b/about.html
index 19a9019..f0c3fa7 100644
--- a/about.html
+++ b/about.html
@@ -55,8 +55,8 @@
 					<a href="http://www.windriver.com/news/press/pr.html?ID=10661">Wind River</a>
 			</ul>
 			<h2>Logos</h3>
-			<p><a href="/download/logos/">The DPDK logos</a> are provided by Intel
-			under a Creative Commons Attribution-NoDerivatives 4.0 License
+			<p><a href="http://fast.dpdk.org/download/logos/">The DPDK logos</a>
+			are provided by Intel under a Creative Commons Attribution-NoDerivatives 4.0 License
 			(<a href="http://creativecommons.org/licenses/by-nd/4.0/">CC BY-ND 4.0</a>).</p>
 		</section>
 	</body>
diff --git a/doc.html b/doc.html
index 2af2640..24bc410 100644
--- a/doc.html
+++ b/doc.html
@@ -51,7 +51,7 @@
 					<a href="/doc/guides/rel_notes/">release notes</a>
 					are formatted with <a href="http://sphinx-doc.org/">sphinx</a>.
 				<li>The guides are also available as
-					<a href="/doc/pdf-guides/">PDF files</a>.
+					<a href="http://fast.dpdk.org/doc/pdf-guides/">PDF files</a>.
 			<h3>Applications</h3>
 			<ul>
 				<li><a href="http://pktgen.readthedocs.org">pktgen-dpdk (traffic generator)</a>
diff --git a/doc/archives.html b/doc/archives.html
index e577991..b8120cf 100644
--- a/doc/archives.html
+++ b/doc/archives.html
@@ -41,22 +41,22 @@
 	<p>DPDK 16.04 |
 		<a href="/doc/api-16.04/">HTML API</a> |
 		<a href="/doc/guides-16.04/">HTML guides</a> |
-		<a href="/doc/archives/dpdk-16.04/pdf/guides/">PDF guides</a>
+		<a href="http://fast.dpdk.org/doc/pdf-guides-16.04/">PDF guides</a>
 	</p>
 	<p>DPDK 2.2 |
 		<a href="/doc/api-2.2/">HTML API</a> |
 		<a href="/doc/guides-2.2/">HTML guides</a> |
-		<a href="/doc/archives/dpdk-2.2/pdf/guides/">PDF guides</a>
+		<a href="http://fast.dpdk.org/doc/pdf-guides-2.2/">PDF guides</a>
 	</p>
 	<p>DPDK 2.1 |
 		<a href="/doc/api-2.1/">HTML API</a> |
 		<a href="/doc/guides-2.1/">HTML guides</a> |
-		<a href="/doc/archives/dpdk-2.1/pdf/guides/">PDF guides</a>
+		<a href="http://fast.dpdk.org/doc/pdf-guides-2.1/">PDF guides</a>
 	</p>
 	<p>DPDK 2.0 |
 		<a href="/doc/api-2.0/">HTML API</a> |
 		<a href="/doc/guides-2.0/">HTML guides</a> |
-		<a href="/doc/archives/dpdk-2.0/pdf/guides/">PDF guides</a>
+		<a href="http://fast.dpdk.org/doc/pdf-guides-2.0/">PDF guides</a>
 	</p>
 	<p>DPDK 1.8 |
 		<a href="/doc/api-1.8/">HTML API</a> |
-- 
2.7.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [dpdk-web] [PATCH 2/2] add releases page
  2016-05-23 22:28 [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon
  2016-05-23 22:28 ` [dpdk-web] [PATCH 1/2] redirect big static files to the CDN Thomas Monjalon
@ 2016-05-23 22:28 ` Thomas Monjalon
  2016-05-24 14:34   ` Van Haaren, Harry
  2016-05-24 15:52 ` [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon
  2 siblings, 1 reply; 6+ messages in thread
From: Thomas Monjalon @ 2016-05-23 22:28 UTC (permalink / raw)
  To: web

Point to most important release tarballs via the fast CDN.
Other lists are the release index and the git refs.
Give also visibility to the roadmap aside the old releases.

This new page is linked from the download page.
The fast URL is also pointed in the download page.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 content.css   | 23 ++++++++++++++++
 download.html |  6 ++---
 rel.html      | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 113 insertions(+), 3 deletions(-)
 create mode 100644 rel.html

diff --git a/content.css b/content.css
index bfc5e4f..9a76bb0 100644
--- a/content.css
+++ b/content.css
@@ -48,6 +48,11 @@ section pre {
 section span.pre {
 	font: 1.2em monospace;
 }
+section#rel pre {
+	margin: 0;
+	padding: 0;
+	border: none;
+}
 
 section a {
 	color: #ef4e22;
@@ -65,6 +70,17 @@ section#ml th {
 	text-align: right;
 }
 
+section#rel th,
+section#rel td{
+	padding: 6px 40px;
+}
+section#rel td:nth-child(2) {
+	font-size: 85%;
+}
+section#rel tr:hover td {
+	background-color: #faf8ff;
+}
+
 section .button {
 	display: inline-block;
 	background-color: rgba(0, 35, 60, 0.07);
@@ -84,3 +100,10 @@ section .button:hover {
 	-o-transition: background-color .08s linear;
 	transition: background-color .08s linear;
 }
+
+section hr {
+	margin: 2em 0 1em 0;
+	border: 0;
+	height: 1px;
+	background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0));
+}
diff --git a/download.html b/download.html
index 3bea45a..a9290f1 100644
--- a/download.html
+++ b/download.html
@@ -39,7 +39,7 @@
 		</header>
 		<section>
 			<h2>Download</h2>
-			<a href="/browse/dpdk/snapshot/dpdk-16.04.tar.gz" class="button" style="width: 28%;">
+			<a href="http://fast.dpdk.org/rel/dpdk-16.04.tar.xz" class="button" style="width: 28%;">
 				<i class="material-icons" style="font-size: 4em;">archive</i><br>
 				Latest Version: 16.04
 			</a><!-- no whitespace
@@ -47,9 +47,9 @@
 				<i class="material-icons" style="font-size: 4em;">access_time</i><br>
 				Quick Start Instructions
 			</a><!-- no whitespace
-			--><a href="/browse/dpdk/refs/" class="button" style="width: 28%;">
+			--><a href="/rel/" class="button" style="width: 28%;">
 				<i class="material-icons" style="font-size: 4em;">view_list</i><br>
-				Other Versions & Git
+				Other Versions
 			</a>
 			<ul>
 			<h3>Applications</h3>
diff --git a/rel.html b/rel.html
new file mode 100644
index 0000000..1ecd697
--- /dev/null
+++ b/rel.html
@@ -0,0 +1,87 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+	<meta charset="utf-8" />
+	<meta name=viewport content="width=device-width, initial-scale=1" />
+	<title>DPDK download</title>
+	<link rel="stylesheet" href="/reset.css" />
+	<link rel="stylesheet" href="/layout.css" />
+	<link rel="stylesheet" href="/content.css" />
+	<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
+	<script type="text/javascript">
+		var _gaq = _gaq || [];
+		_gaq.push(['_setAccount', 'UA-39229303-1']);
+		_gaq.push(['_setDomainName', 'dpdk.org']);
+		_gaq.push(['_setAllowLinker', true]);
+		_gaq.push(['_trackPageview']);
+		(function() {
+			var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+			ga.src = 'http://www.google-analytics.com/ga.js';
+			var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+		})();
+	</script>
+</head>
+<body>
+<header>
+	<h1><a href="http://dpdk.org/"><img src="/dpdk.png" alt="DPDK: Data Plane Development Kit"></a></h1>
+	<nav>
+		<ul>
+			<li><a href="/">Home</a></li>
+			<li><a href="/download" id="current">Download</a></li>
+			<li><a href="/doc">Documentation</a></li>
+			<li><a href="/dev">Development</a></li>
+			<li><a href="/ml">Mailing Lists</a></li>
+			<li><a href="/events">Events</a></li>
+			<li><a href="/news">News</a></li>
+			<li><a href="/about">About</a></li>
+		</ul>
+	</nav>
+</header>
+<section id="rel">
+	<h2>Releases</h2>
+	<a href="/dev/roadmap" class="button" style="width: 28%;">
+		<i class="material-icons" style="font-size: 4em;">date_range</i><br>
+		Roadmap
+	</a><!-- no whitespace
+	--><a href="http://fast.dpdk.org/rel/" class="button" style="width: 28%; margin: 0 8%;">
+		<i class="material-icons" style="font-size: 4em;">view_list</i><br>
+		All Releases
+	</a><!-- no whitespace
+	--><a href="/browse/dpdk/refs/" class="button" style="width: 28%;">
+		<i class="material-icons" style="font-size: 4em;">call_split</i><br>
+		Archives from Git
+	</a>
+	<hr>
+	<table>
+		<tr>
+			<th>file</th>
+			<th>date/changelog</th>
+			<th>md5</th>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-16.04.tar.xz">DPDK 16.04</a></td>
+			<td><a href="/doc/guides/rel_notes/release_16_04.html">2016 April 12</a></td>
+			<td><pre>d1f82e7d7589b3b2f623c155442b8306</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-2.2.0.tar.xz">DPDK 2.2</a></td>
+			<td><a href="/doc/guides/rel_notes/release_2_2.html">2015 December 15</a></td>
+			<td><pre>bfa10283b49d56264c82519d130458cc</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-2.1.0.tar.xz">DPDK 2.1</a></td>
+			<td><a href="/doc/guides/rel_notes/release_2_1.html">2015 August 17</a></td>
+			<td><pre>a0d69f78f360e03dbdf38ae93fad32d4</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-2.0.0.tar.xz">DPDK 2.0</a></td>
+			<td><a href="/doc/guides/rel_notes/release_2_0.html">2015 April 3</a></td>
+			<td><pre>44bf2ffd39e8370d4dee8907699f964a</pre></td>
+		</tr>
+		<tr>
+			<td><a href="http://fast.dpdk.org/rel/dpdk-1.8.0.tar.xz">DPDK 1.8</a></td>
+			<td><a href="/doc/guides/rel_notes/release_1_8.html">2014 December 3</a></td>
+			<td><pre>14f26ca9e1c9f72f0d7abda83cbf8127</pre></td>
+		</tr>
+	</table>
+</section>
-- 
2.7.0

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-web] [PATCH 1/2] redirect big static files to the CDN
  2016-05-23 22:28 ` [dpdk-web] [PATCH 1/2] redirect big static files to the CDN Thomas Monjalon
@ 2016-05-24 14:34   ` Van Haaren, Harry
  0 siblings, 0 replies; 6+ messages in thread
From: Van Haaren, Harry @ 2016-05-24 14:34 UTC (permalink / raw)
  To: Thomas Monjalon, web

> From: web [mailto:web-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Monday, May 23, 2016 11:28 PM
> To: web@dpdk.org
> Subject: [dpdk-web] [PATCH 1/2] redirect big static files to the CDN
> 
> The domain fast.dpdk.org is a CDN.
> It will give faster access to big files.
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Acked-by: Harry van Haaren <harry.van.haaren@intel.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-web] [PATCH 2/2] add releases page
  2016-05-23 22:28 ` [dpdk-web] [PATCH 2/2] add releases page Thomas Monjalon
@ 2016-05-24 14:34   ` Van Haaren, Harry
  0 siblings, 0 replies; 6+ messages in thread
From: Van Haaren, Harry @ 2016-05-24 14:34 UTC (permalink / raw)
  To: Thomas Monjalon, web

> From: web [mailto:web-bounces@dpdk.org] On Behalf Of Thomas Monjalon
> Sent: Monday, May 23, 2016 11:28 PM
> To: web@dpdk.org
> Subject: [dpdk-web] [PATCH 2/2] add releases page
> 
> Point to most important release tarballs via the fast CDN.
> Other lists are the release index and the git refs.
> Give also visibility to the roadmap aside the old releases.
> 
> This new page is linked from the download page.
> The fast URL is also pointed in the download page.
> 
> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>

Acked-by: Harry van Haaren <harry.van.haaren@intel.com>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN
  2016-05-23 22:28 [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon
  2016-05-23 22:28 ` [dpdk-web] [PATCH 1/2] redirect big static files to the CDN Thomas Monjalon
  2016-05-23 22:28 ` [dpdk-web] [PATCH 2/2] add releases page Thomas Monjalon
@ 2016-05-24 15:52 ` Thomas Monjalon
  2 siblings, 0 replies; 6+ messages in thread
From: Thomas Monjalon @ 2016-05-24 15:52 UTC (permalink / raw)
  To: web

2016-05-24 00:28, Thomas Monjalon:
> Thanks to the help from Fastly (https://www.fastly.com/open-source),
> there is now a CDN for dpdk.org.
> It is simply a distributed varnish cache with an API and a nice dashboard.
> 
> In order to ease understanding of cache behaviour, only the big files
> (mainly release tarballs) are cached.
> The new domain fast.dpdk.org, hosted by Fastly, mirrors the domain
> static.dpdk.org which keeps the same tree as dpdk.org but only for
> big static files. There is no HTML file on these domains.
> So the domain static.dpdk.org acts as gateway between the full website
> origin and the distributed static files. There is no benefit of directly
> using static.dpdk.org from your browser, except for website troubleshooting.
> 
> Thomas Monjalon (2):
>   redirect big static files to the CDN
>   add releases page

Applied

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-05-24 15:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 22:28 [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon
2016-05-23 22:28 ` [dpdk-web] [PATCH 1/2] redirect big static files to the CDN Thomas Monjalon
2016-05-24 14:34   ` Van Haaren, Harry
2016-05-23 22:28 ` [dpdk-web] [PATCH 2/2] add releases page Thomas Monjalon
2016-05-24 14:34   ` Van Haaren, Harry
2016-05-24 15:52 ` [dpdk-web] [PATCH 0/2] Host tarballs on Fastly CDN Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).