This is an automated email from the ASF dual-hosted git repository.
bcall pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/trafficserver-site.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 9b70c90 Modernize newsite: cmake commands, remove outdated links, add
site generator (#11)
9b70c90 is described below
commit 9b70c90d939e98c2bd58b1128db25b88b53dd59f
Author: Bryan Call <[email protected]>
AuthorDate: Thu Jan 8 12:52:53 2026 -0800
Modernize newsite: cmake commands, remove outdated links, add site
generator (#11)
* Fix: Replace JavaScript file with actual Tailwind CSS
PR #9 accidentally included the Tailwind CDN JavaScript runtime compiler
(400KB) instead of a CSS file. This JavaScript won't execute due to
Apache's Content Security Policy, causing the site to render unstyled.
This PR replaces it with a properly built CSS file using Tailwind CLI:
- Built with Tailwind standalone CLI v3.4.1
- Scans HTML files and includes only used utility classes
- Minified for production (2KB instead of 400KB)
- Actual CSS, not JavaScript
- Works with Apache CSP restrictions
This will fix the styling on https://trafficserver.apache.org/newsite/
* Fix JavaScript paths and rebuild complete Tailwind CSS
Two critical fixes:
1. Fixed JavaScript menu paths in 5 HTML files
- acknowledgements.html, assistance.html, downloads.html,
press.html, users.html were using /js/menu.js
- Changed to /newsite/js/menu.js (correct path)
- Mobile menu will now work on all pages
2. Rebuilt Tailwind CSS properly with all utilities
- Previous build was incomplete (only custom styles)
- Now includes full Tailwind base, components, and utilities
- Built from proper input file with @tailwind directives
- File size: 18KB (includes all needed classes)
- Minified for production
This ensures all styling and interactivity works correctly.
* Modernize newsite: cmake commands, remove outdated links, add site
generator
- Update build commands to cmake --preset release (ATS 10+)
- Remove outdated blog and wiki links
- Update Yahoo donation text to terabits/sec messaging
- Change Twitter branding to X
- Add config-driven site generator (versions.json + generate-site.py)
- Add HTML templates for downloads and index pages
---
content/newsite/downloads.html | 18 ++-
content/newsite/generate-site.py | 139 +++++++++++++++++++++
content/newsite/index.html | 46 +++----
.../downloads.template.html} | 50 +++++---
.../{index.html => templates/index.template.html} | 79 ++++--------
content/newsite/versions.json | 56 +++++++++
6 files changed, 290 insertions(+), 98 deletions(-)
diff --git a/content/newsite/downloads.html b/content/newsite/downloads.html
index 494af77..c91c3ec 100644
--- a/content/newsite/downloads.html
+++ b/content/newsite/downloads.html
@@ -1,4 +1,16 @@
<!DOCTYPE html>
+<!--
+============================================================
+APACHE TRAFFIC SERVER DOWNLOADS PAGE
+============================================================
+THIS FILE IS AUTO-GENERATED by generate-site.py
+DO NOT EDIT THIS FILE DIRECTLY!
+
+To update versions:
+1. Edit versions.json
+2. Run: python generate-site.py
+============================================================
+-->
<html lang="en">
<head>
<meta charset="UTF-8">
@@ -247,8 +259,6 @@
<h3 class="text-sm font-semibold text-gray-900 uppercase
tracking-wider mb-4">Resources</h3>
<ul class="space-y-3">
<li><a
href="https://docs.trafficserver.apache.org/en/latest/index.html"
class="text-secondary hover:text-accent
transition-colors">Documentation</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server"
class="text-secondary hover:text-accent transition-colors">Wiki</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/FAQ" class="text-secondary
hover:text-accent transition-colors">FAQ</a></li>
<li><a href="https://github.com/apache/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Source Code</a></li>
</ul>
</div>
@@ -279,8 +289,7 @@
<ul class="space-y-3">
<li><a href="/newsite/press.html"
class="text-secondary hover:text-accent transition-colors">Press Kit</a></li>
<li><a href="/newsite/acknowledgements.html"
class="text-secondary hover:text-accent
transition-colors">Acknowledgements</a></li>
- <li><a href="https://blogs.apache.org/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Blog</a></li>
- <li><a href="https://twitter.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">Twitter</a></li>
+ <li><a href="https://x.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">X</a></li>
</ul>
</div>
</div>
@@ -304,3 +313,4 @@
<script src="/newsite/js/menu.js"></script>
</body>
</html>
+
diff --git a/content/newsite/generate-site.py b/content/newsite/generate-site.py
new file mode 100644
index 0000000..53125e7
--- /dev/null
+++ b/content/newsite/generate-site.py
@@ -0,0 +1,139 @@
+#!/usr/bin/env python3
+"""
+Apache Traffic Server Website Generator
+
+Generates downloads.html and index.html from templates and versions.json
config.
+
+Usage:
+ python generate-site.py
+
+This reads versions.json and generates:
+ - downloads.html (from templates/downloads.template.html)
+ - index.html (from templates/index.template.html)
+
+To release a new version:
+ 1. Edit versions.json (update version, date, branch)
+ 2. Add a news entry to the news array
+ 3. Run: python generate-site.py
+"""
+
+import json
+import os
+from pathlib import Path
+
+# URLs are computed from version/branch
+URL_PATTERNS = {
+ 'download':
'https://www.apache.org/dyn/closer.cgi/trafficserver/trafficserver-{version}.tar.bz2',
+ 'pgp':
'https://www.apache.org/dist/trafficserver/trafficserver-{version}.tar.bz2.asc',
+ 'sha512':
'https://www.apache.org/dist/trafficserver/trafficserver-{version}.tar.bz2.sha512',
+ 'changelog':
'https://raw.githubusercontent.com/apache/trafficserver/{branch}/CHANGELOG-{version}',
+ 'milestone':
'https://github.com/apache/trafficserver/pulls?q=is:closed+is:pr+milestone:{version}',
+}
+
+def load_config():
+ """Load versions.json config file."""
+ config_path = Path(__file__).parent / 'versions.json'
+ with open(config_path) as f:
+ return json.load(f)
+
+def get_urls(version_info):
+ """Generate all URLs from version info."""
+ return {
+ key: pattern.format(**version_info)
+ for key, pattern in URL_PATTERNS.items()
+ }
+
+def generate_news_html(news_items, max_items=8):
+ """Generate HTML for news items."""
+ html_parts = []
+ for item in news_items[:max_items]:
+ html_parts.append(f''' <div class="border-l-4
border-accent pl-6 py-2">
+ <p class="text-sm text-secondary font-semibold
mb-1">{item['date']}</p>
+ <p class="text-gray-700">{item['text']}</p>
+ </div>''')
+ return '\n'.join(html_parts)
+
+def generate_downloads_html(config):
+ """Generate downloads.html from template."""
+ template_path = Path(__file__).parent / 'templates' /
'downloads.template.html'
+ output_path = Path(__file__).parent / 'downloads.html'
+
+ with open(template_path) as f:
+ template = f.read()
+
+ v10 = config['versions']['v10']
+ v9 = config['versions']['v9']
+
+ v10_urls = get_urls(v10)
+ v9_urls = get_urls(v9)
+
+ # Replace placeholders
+ html = template
+
+ # V10 replacements
+ html = html.replace('{{V10_VERSION}}', v10['version'])
+ html = html.replace('{{V10_DATE}}', v10['date'])
+ html = html.replace('{{V10_BRANCH}}', v10['branch'])
+ html = html.replace('{{V10_DESCRIPTION}}', v10['description'])
+ html = html.replace('{{V10_DOWNLOAD_URL}}', v10_urls['download'])
+ html = html.replace('{{V10_PGP_URL}}', v10_urls['pgp'])
+ html = html.replace('{{V10_SHA512_URL}}', v10_urls['sha512'])
+ html = html.replace('{{V10_CHANGELOG_URL}}', v10_urls['changelog'])
+
+ # V9 replacements
+ html = html.replace('{{V9_VERSION}}', v9['version'])
+ html = html.replace('{{V9_DATE}}', v9['date'])
+ html = html.replace('{{V9_BRANCH}}', v9['branch'])
+ html = html.replace('{{V9_DESCRIPTION}}', v9['description'])
+ html = html.replace('{{V9_DOWNLOAD_URL}}', v9_urls['download'])
+ html = html.replace('{{V9_PGP_URL}}', v9_urls['pgp'])
+ html = html.replace('{{V9_SHA512_URL}}', v9_urls['sha512'])
+ html = html.replace('{{V9_CHANGELOG_URL}}', v9_urls['changelog'])
+
+ with open(output_path, 'w') as f:
+ f.write(html)
+
+ print(f"Generated: {output_path}")
+
+def generate_index_html(config):
+ """Generate index.html from template."""
+ template_path = Path(__file__).parent / 'templates' / 'index.template.html'
+ output_path = Path(__file__).parent / 'index.html'
+
+ with open(template_path) as f:
+ template = f.read()
+
+ # Generate news HTML
+ news_html = generate_news_html(config['news'])
+
+ # Replace placeholder
+ html = template.replace('{{NEWS_ITEMS}}', news_html)
+
+ with open(output_path, 'w') as f:
+ f.write(html)
+
+ print(f"Generated: {output_path}")
+
+def main():
+ print("Apache Traffic Server Site Generator")
+ print("=" * 40)
+
+ config = load_config()
+
+ v10 = config['versions']['v10']
+ v9 = config['versions']['v9']
+
+ print(f"\nCurrent versions:")
+ print(f" v10.x: {v10['version']} ({v10['date']})")
+ print(f" v9.x: {v9['version']} ({v9['date']})")
+ print(f" News items: {len(config['news'])}")
+ print()
+
+ generate_downloads_html(config)
+ generate_index_html(config)
+
+ print("\nDone!")
+
+if __name__ == '__main__':
+ main()
+
diff --git a/content/newsite/index.html b/content/newsite/index.html
index 0af3273..02faa97 100644
--- a/content/newsite/index.html
+++ b/content/newsite/index.html
@@ -1,4 +1,16 @@
<!DOCTYPE html>
+<!--
+============================================================
+APACHE TRAFFIC SERVER HOMEPAGE
+============================================================
+THIS FILE IS AUTO-GENERATED by generate-site.py
+DO NOT EDIT THIS FILE DIRECTLY!
+
+To update:
+1. Edit versions.json (for news items)
+2. Run: python generate-site.py
+============================================================
+-->
<html lang="en">
<head>
<meta charset="UTF-8">
@@ -69,7 +81,7 @@
A fast, scalable and extensible HTTP/1.1 and HTTP/2
compliant caching proxy server.
</p>
<p class="text-lg text-blue-100 mb-8 leading-relaxed">
- Formerly a commercial product, Yahoo! donated it to
the Apache Foundation, and is currently used by several major CDNs and content
owners.
+ Powering major CDNs and content providers worldwide,
serving multiple terabits per second of traffic.
</p>
<div class="flex flex-col sm:flex-row gap-4">
<a href="/newsite/downloads.html" class="btn-gradient
inline-block px-8 py-4 rounded-lg font-semibold text-white text-lg text-center">
@@ -80,9 +92,9 @@
</a>
</div>
<div class="mt-8">
- <a href="https://twitter.com/trafficserver"
class="inline-flex items-center text-blue-100 hover:text-white
transition-colors">
+ <a href="https://x.com/trafficserver"
class="inline-flex items-center text-blue-100 hover:text-white
transition-colors">
<svg class="w-5 h-5 mr-2" fill="currentColor"
viewBox="0 0 24 24">
- <path d="M23.953 4.57a10 10 0 01-2.825.775
4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0
00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0
1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946
4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0
01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0
13.998-7.496 13.998-13.985 0-.21 [...]
+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502
11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713
6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
</svg>
Follow @trafficserver
</a>
@@ -93,15 +105,16 @@
<div class="space-y-4 text-sm font-mono">
<div class="flex items-center">
<span class="text-green-400">$</span>
- <span class="ml-2 text-blue-200">./configure
--prefix=/opt/ts</span>
+ <span class="ml-2 text-blue-200">cmake
--preset release</span>
+ <span class="ml-2 text-blue-200"># ATS
10+</span>
</div>
<div class="flex items-center">
<span class="text-green-400">$</span>
- <span class="ml-2 text-blue-200">make && make
install</span>
+ <span class="ml-2 text-blue-200">cmake --build
build-release --target install</span>
</div>
<div class="flex items-center">
<span class="text-green-400">$</span>
- <span class="ml-2
text-blue-200">/opt/ts/bin/traffic_server</span>
+ <span class="ml-2
text-blue-200">/opt/ats/bin/trafficserver start</span>
</div>
<div class="text-green-400 mt-4">✓ Traffic Server
running</div>
</div>
@@ -172,7 +185,7 @@
</div>
<h3 class="text-xl font-semibold text-primary
mb-4">Proven</h3>
<p class="text-gray-600 leading-relaxed">
- Handling over 400TB a day at <a
href="https://www.yahoo.com/" class="text-accent hover:underline">Yahoo!</a>
both as forward and reverse proxies, Apache Traffic Server is battle hardened.
Visit our <a href="/newsite/users.html" class="text-accent
hover:underline">Customers page</a> for more users.
+ Battle-tested at scale, powering multiple terabits per
second of traffic at major CDNs and content providers worldwide. Visit our <a
href="/newsite/users.html" class="text-accent hover:underline">Customers
page</a> for more users.
</p>
</div>
@@ -220,7 +233,7 @@
<path fill-rule="evenodd" d="M10 18a8 8 0
100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1
0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
</svg>
<div>
- <p class="text-gray-600"><a
href="https://cwiki.apache.org/confluence/display/TS/Filing+useful+bug+reports"
class="text-accent hover:underline">Report</a> or confirm bugs on our <a
href="https://github.com/apache/trafficserver/" class="text-accent
hover:underline">Bug Tracker</a>.</p>
+ <p class="text-gray-600"><a
href="https://github.com/apache/trafficserver/issues" class="text-accent
hover:underline">Report or confirm bugs</a> on our GitHub Issues.</p>
</div>
</li>
</ul>
@@ -242,7 +255,7 @@
<path fill-rule="evenodd" d="M10 18a8 8 0
100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1
0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
</svg>
<div>
- <p class="text-gray-600"><a
href="https://cwiki.apache.org/confluence/display/TS/Filing+useful+bug+reports"
class="text-accent hover:underline">Report</a> issues or bring patches to our
<a href="https://github.com/apache/trafficserver/" class="text-accent
hover:underline">Bug Tracker</a>.</p>
+ <p class="text-gray-600"><a
href="https://github.com/apache/trafficserver/issues" class="text-accent
hover:underline">Report issues</a> or bring patches to our GitHub repo.</p>
</div>
</li>
<li class="flex items-start">
@@ -267,20 +280,13 @@
<a
href="https://docs.trafficserver.apache.org/en/latest/developer-guide/index.en.html"
class="text-accent hover:underline font-medium">Developer's Guide</a>
<p class="text-gray-600 text-sm mt-1">Developing
Apache Traffic Server plug-ins and how the code works</p>
</li>
- <li>
- <a
href="https://cwiki.apache.org/confluence/display/TS/FAQ" class="text-accent
hover:underline font-medium">Frequently Asked Questions</a>
- <p class="text-gray-600 text-sm mt-1">A running
list of your most common questions</p>
- </li>
- <li>
- <a
href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server"
class="text-accent hover:underline font-medium">Wiki</a> and <a
href="https://blogs.apache.org/trafficserver/" class="text-accent
hover:underline font-medium">Blog</a>
- <p class="text-gray-600 text-sm
mt-1">Collaboration and interesting topics around the project</p>
- </li>
</ul>
</div>
</div>
</div>
</section>
+ <!-- NEWS SECTION - Generated from versions.json -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl md:text-4xl font-bold text-center text-primary
mb-12">News</h2>
@@ -337,8 +343,6 @@
<h3 class="text-sm font-semibold text-gray-900 uppercase
tracking-wider mb-4">Resources</h3>
<ul class="space-y-3">
<li><a
href="https://docs.trafficserver.apache.org/en/latest/index.html"
class="text-secondary hover:text-accent
transition-colors">Documentation</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server"
class="text-secondary hover:text-accent transition-colors">Wiki</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/FAQ" class="text-secondary
hover:text-accent transition-colors">FAQ</a></li>
<li><a href="https://github.com/apache/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Source Code</a></li>
</ul>
</div>
@@ -369,8 +373,7 @@
<ul class="space-y-3">
<li><a href="/newsite/press.html"
class="text-secondary hover:text-accent transition-colors">Press Kit</a></li>
<li><a href="/newsite/acknowledgements.html"
class="text-secondary hover:text-accent
transition-colors">Acknowledgements</a></li>
- <li><a href="https://blogs.apache.org/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Blog</a></li>
- <li><a href="https://twitter.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">Twitter</a></li>
+ <li><a href="https://x.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">X</a></li>
</ul>
</div>
</div>
@@ -393,3 +396,4 @@
<script src="/newsite/js/menu.js"></script>
</body>
</html>
+
diff --git a/content/newsite/downloads.html
b/content/newsite/templates/downloads.template.html
similarity index 87%
copy from content/newsite/downloads.html
copy to content/newsite/templates/downloads.template.html
index 494af77..5288905 100644
--- a/content/newsite/downloads.html
+++ b/content/newsite/templates/downloads.template.html
@@ -1,4 +1,16 @@
<!DOCTYPE html>
+<!--
+============================================================
+APACHE TRAFFIC SERVER DOWNLOADS PAGE
+============================================================
+THIS FILE IS AUTO-GENERATED by generate-site.py
+DO NOT EDIT THIS FILE DIRECTLY!
+
+To update versions:
+1. Edit versions.json
+2. Run: python generate-site.py
+============================================================
+-->
<html lang="en">
<head>
<meta charset="UTF-8">
@@ -104,10 +116,10 @@
<div class="flex items-center justify-between mb-6">
<div>
<div class="flex items-center space-x-3">
- <h2 class="text-3xl font-bold
text-primary">Traffic Server 10.1.0</h2>
+ <h2 class="text-3xl font-bold
text-primary">Traffic Server {{V10_VERSION}}</h2>
<span class="px-3 py-1 bg-green-100 text-green-800
text-sm font-semibold rounded-full">Latest Stable</span>
</div>
- <p class="text-gray-600 mt-2">Released August 13, 2025
• Current v10.x Release</p>
+ <p class="text-gray-600 mt-2">Released {{V10_DATE}} •
Current v10.x Release</p>
</div>
</div>
@@ -119,7 +131,7 @@
</svg>
<div>
<p class="font-semibold text-gray-900">Latest
Features</p>
- <p class="text-sm text-gray-600">First minor
version of ATS 10 with new features and improvements</p>
+ <p class="text-sm
text-gray-600">{{V10_DESCRIPTION}}</p>
</div>
</div>
<div class="flex items-start space-x-3">
@@ -137,20 +149,20 @@
</div>
<div class="flex flex-col sm:flex-row gap-4 items-center">
- <a
href="https://www.apache.org/dyn/closer.cgi/trafficserver/trafficserver-10.1.0.tar.bz2"
class="inline-block px-8 py-4 rounded-lg font-semibold bg-gradient-to-r
from-blue-500 to-blue-900 hover:from-blue-600 hover:to-blue-950 text-white
text-center w-full sm:w-auto transition-all shadow-md hover:shadow-lg">
+ <a href="{{V10_DOWNLOAD_URL}}" class="inline-block
px-8 py-4 rounded-lg font-semibold bg-gradient-to-r from-blue-500 to-blue-900
hover:from-blue-600 hover:to-blue-950 text-white text-center w-full sm:w-auto
transition-all shadow-md hover:shadow-lg">
<svg class="w-5 h-5 inline-block mr-2 -mt-1"
fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0
003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/>
</svg>
- Download 10.1.0
+ Download {{V10_VERSION}}
</a>
<div class="flex gap-3 text-sm">
- <a
href="https://www.apache.org/dist/trafficserver/trafficserver-10.1.0.tar.bz2.asc"
class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50
font-medium">
+ <a href="{{V10_PGP_URL}}" class="px-4 py-2 border
border-gray-300 rounded-lg hover:bg-gray-50 font-medium">
PGP
</a>
- <a
href="https://www.apache.org/dist/trafficserver/trafficserver-10.1.0.tar.bz2.sha512"
class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50
font-medium">
+ <a href="{{V10_SHA512_URL}}" class="px-4 py-2
border border-gray-300 rounded-lg hover:bg-gray-50 font-medium">
SHA512
</a>
- <a
href="https://raw.githubusercontent.com/apache/trafficserver/10.1.x/CHANGELOG-10.1.0"
class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50
font-medium">
+ <a href="{{V10_CHANGELOG_URL}}" class="px-4 py-2
border border-gray-300 rounded-lg hover:bg-gray-50 font-medium">
Changelog
</a>
</div>
@@ -163,10 +175,10 @@
<div class="flex items-center justify-between mb-6">
<div>
<div class="flex items-center space-x-3">
- <h2 class="text-3xl font-bold
text-primary">Traffic Server 9.2.11</h2>
+ <h2 class="text-3xl font-bold
text-primary">Traffic Server {{V9_VERSION}}</h2>
<span class="px-3 py-1 bg-blue-100 text-blue-800
text-sm font-semibold rounded-full">LTS</span>
</div>
- <p class="text-gray-600 mt-2">Released June 17, 2025 •
Long Term Support v9.x Release</p>
+ <p class="text-gray-600 mt-2">Released {{V9_DATE}} •
Long Term Support v9.x Release</p>
</div>
</div>
@@ -178,7 +190,7 @@
</svg>
<div>
<p class="font-semibold text-gray-900">Stable
& Secure</p>
- <p class="text-sm text-gray-600">Long-term
support with security fixes and critical updates</p>
+ <p class="text-sm
text-gray-600">{{V9_DESCRIPTION}}</p>
</div>
</div>
<div class="flex items-start space-x-3">
@@ -196,20 +208,20 @@
</div>
<div class="flex flex-col sm:flex-row gap-4 items-center">
- <a
href="https://www.apache.org/dyn/closer.cgi/trafficserver/trafficserver-9.2.11.tar.bz2"
class="inline-block px-8 py-4 rounded-lg font-semibold bg-blue-600
hover:bg-blue-700 text-white text-center w-full sm:w-auto transition-colors">
+ <a href="{{V9_DOWNLOAD_URL}}" class="inline-block px-8
py-4 rounded-lg font-semibold bg-blue-600 hover:bg-blue-700 text-white
text-center w-full sm:w-auto transition-colors">
<svg class="w-5 h-5 inline-block mr-2 -mt-1"
fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round"
stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0
003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"/>
</svg>
- Download 9.2.11
+ Download {{V9_VERSION}}
</a>
<div class="flex gap-3 text-sm">
- <a
href="https://www.apache.org/dist/trafficserver/trafficserver-9.2.11.tar.bz2.asc"
class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50
font-medium">
+ <a href="{{V9_PGP_URL}}" class="px-4 py-2 border
border-gray-300 rounded-lg hover:bg-gray-50 font-medium">
PGP
</a>
- <a
href="https://www.apache.org/dist/trafficserver/trafficserver-9.2.11.tar.bz2.sha512"
class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50
font-medium">
+ <a href="{{V9_SHA512_URL}}" class="px-4 py-2
border border-gray-300 rounded-lg hover:bg-gray-50 font-medium">
SHA512
</a>
- <a
href="https://raw.githubusercontent.com/apache/trafficserver/9.2.x/CHANGELOG-9.2.11"
class="px-4 py-2 border border-gray-300 rounded-lg hover:bg-gray-50
font-medium">
+ <a href="{{V9_CHANGELOG_URL}}" class="px-4 py-2
border border-gray-300 rounded-lg hover:bg-gray-50 font-medium">
Changelog
</a>
</div>
@@ -247,8 +259,6 @@
<h3 class="text-sm font-semibold text-gray-900 uppercase
tracking-wider mb-4">Resources</h3>
<ul class="space-y-3">
<li><a
href="https://docs.trafficserver.apache.org/en/latest/index.html"
class="text-secondary hover:text-accent
transition-colors">Documentation</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server"
class="text-secondary hover:text-accent transition-colors">Wiki</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/FAQ" class="text-secondary
hover:text-accent transition-colors">FAQ</a></li>
<li><a href="https://github.com/apache/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Source Code</a></li>
</ul>
</div>
@@ -279,8 +289,7 @@
<ul class="space-y-3">
<li><a href="/newsite/press.html"
class="text-secondary hover:text-accent transition-colors">Press Kit</a></li>
<li><a href="/newsite/acknowledgements.html"
class="text-secondary hover:text-accent
transition-colors">Acknowledgements</a></li>
- <li><a href="https://blogs.apache.org/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Blog</a></li>
- <li><a href="https://twitter.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">Twitter</a></li>
+ <li><a href="https://x.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">X</a></li>
</ul>
</div>
</div>
@@ -304,3 +313,4 @@
<script src="/newsite/js/menu.js"></script>
</body>
</html>
+
diff --git a/content/newsite/index.html
b/content/newsite/templates/index.template.html
similarity index 80%
copy from content/newsite/index.html
copy to content/newsite/templates/index.template.html
index 0af3273..913500d 100644
--- a/content/newsite/index.html
+++ b/content/newsite/templates/index.template.html
@@ -1,4 +1,16 @@
<!DOCTYPE html>
+<!--
+============================================================
+APACHE TRAFFIC SERVER HOMEPAGE
+============================================================
+THIS FILE IS AUTO-GENERATED by generate-site.py
+DO NOT EDIT THIS FILE DIRECTLY!
+
+To update:
+1. Edit versions.json (for news items)
+2. Run: python generate-site.py
+============================================================
+-->
<html lang="en">
<head>
<meta charset="UTF-8">
@@ -69,7 +81,7 @@
A fast, scalable and extensible HTTP/1.1 and HTTP/2
compliant caching proxy server.
</p>
<p class="text-lg text-blue-100 mb-8 leading-relaxed">
- Formerly a commercial product, Yahoo! donated it to
the Apache Foundation, and is currently used by several major CDNs and content
owners.
+ Powering major CDNs and content providers worldwide,
serving multiple terabits per second of traffic.
</p>
<div class="flex flex-col sm:flex-row gap-4">
<a href="/newsite/downloads.html" class="btn-gradient
inline-block px-8 py-4 rounded-lg font-semibold text-white text-lg text-center">
@@ -80,9 +92,9 @@
</a>
</div>
<div class="mt-8">
- <a href="https://twitter.com/trafficserver"
class="inline-flex items-center text-blue-100 hover:text-white
transition-colors">
+ <a href="https://x.com/trafficserver"
class="inline-flex items-center text-blue-100 hover:text-white
transition-colors">
<svg class="w-5 h-5 mr-2" fill="currentColor"
viewBox="0 0 24 24">
- <path d="M23.953 4.57a10 10 0 01-2.825.775
4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0
00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0
1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946
4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0
01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0
13.998-7.496 13.998-13.985 0-.21 [...]
+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502
11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713
6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
</svg>
Follow @trafficserver
</a>
@@ -93,15 +105,16 @@
<div class="space-y-4 text-sm font-mono">
<div class="flex items-center">
<span class="text-green-400">$</span>
- <span class="ml-2 text-blue-200">./configure
--prefix=/opt/ts</span>
+ <span class="ml-2 text-blue-200">cmake
--preset release</span>
+ <span class="ml-2 text-blue-200"># ATS
10+</span>
</div>
<div class="flex items-center">
<span class="text-green-400">$</span>
- <span class="ml-2 text-blue-200">make && make
install</span>
+ <span class="ml-2 text-blue-200">cmake --build
build-release --target install</span>
</div>
<div class="flex items-center">
<span class="text-green-400">$</span>
- <span class="ml-2
text-blue-200">/opt/ts/bin/traffic_server</span>
+ <span class="ml-2
text-blue-200">/opt/ats/bin/trafficserver start</span>
</div>
<div class="text-green-400 mt-4">✓ Traffic Server
running</div>
</div>
@@ -172,7 +185,7 @@
</div>
<h3 class="text-xl font-semibold text-primary
mb-4">Proven</h3>
<p class="text-gray-600 leading-relaxed">
- Handling over 400TB a day at <a
href="https://www.yahoo.com/" class="text-accent hover:underline">Yahoo!</a>
both as forward and reverse proxies, Apache Traffic Server is battle hardened.
Visit our <a href="/newsite/users.html" class="text-accent
hover:underline">Customers page</a> for more users.
+ Battle-tested at scale, powering multiple terabits per
second of traffic at major CDNs and content providers worldwide. Visit our <a
href="/newsite/users.html" class="text-accent hover:underline">Customers
page</a> for more users.
</p>
</div>
@@ -220,7 +233,7 @@
<path fill-rule="evenodd" d="M10 18a8 8 0
100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1
0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
</svg>
<div>
- <p class="text-gray-600"><a
href="https://cwiki.apache.org/confluence/display/TS/Filing+useful+bug+reports"
class="text-accent hover:underline">Report</a> or confirm bugs on our <a
href="https://github.com/apache/trafficserver/" class="text-accent
hover:underline">Bug Tracker</a>.</p>
+ <p class="text-gray-600"><a
href="https://github.com/apache/trafficserver/issues" class="text-accent
hover:underline">Report or confirm bugs</a> on our GitHub Issues.</p>
</div>
</li>
</ul>
@@ -242,7 +255,7 @@
<path fill-rule="evenodd" d="M10 18a8 8 0
100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1
0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z" clip-rule="evenodd"/>
</svg>
<div>
- <p class="text-gray-600"><a
href="https://cwiki.apache.org/confluence/display/TS/Filing+useful+bug+reports"
class="text-accent hover:underline">Report</a> issues or bring patches to our
<a href="https://github.com/apache/trafficserver/" class="text-accent
hover:underline">Bug Tracker</a>.</p>
+ <p class="text-gray-600"><a
href="https://github.com/apache/trafficserver/issues" class="text-accent
hover:underline">Report issues</a> or bring patches to our GitHub repo.</p>
</div>
</li>
<li class="flex items-start">
@@ -267,58 +280,20 @@
<a
href="https://docs.trafficserver.apache.org/en/latest/developer-guide/index.en.html"
class="text-accent hover:underline font-medium">Developer's Guide</a>
<p class="text-gray-600 text-sm mt-1">Developing
Apache Traffic Server plug-ins and how the code works</p>
</li>
- <li>
- <a
href="https://cwiki.apache.org/confluence/display/TS/FAQ" class="text-accent
hover:underline font-medium">Frequently Asked Questions</a>
- <p class="text-gray-600 text-sm mt-1">A running
list of your most common questions</p>
- </li>
- <li>
- <a
href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server"
class="text-accent hover:underline font-medium">Wiki</a> and <a
href="https://blogs.apache.org/trafficserver/" class="text-accent
hover:underline font-medium">Blog</a>
- <p class="text-gray-600 text-sm
mt-1">Collaboration and interesting topics around the project</p>
- </li>
</ul>
</div>
</div>
</div>
</section>
+ <!-- NEWS SECTION - Generated from versions.json -->
<section class="py-16 bg-white">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<h2 class="text-3xl md:text-4xl font-bold text-center text-primary
mb-12">News</h2>
<div class="max-w-4xl mx-auto">
<div class="space-y-6">
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">August 13, 2025</p>
- <p class="text-gray-700">The first minor version of
ATS 10 is released: <strong>v10.1.0</strong>!</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">June 17, 2025</p>
- <p class="text-gray-700">We are releasing version
<strong>v10.0.6</strong> and <strong>v9.2.11</strong> which include security
fixes and improvements. We recommend everyone to upgrade to one of these
versions of ATS.</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">April 2, 2025</p>
- <p class="text-gray-700">We are releasing version
<strong>v10.0.5</strong> and <strong>v9.2.10</strong> which include security
fixes and improvements. We recommend everyone to upgrade to one of these
versions of ATS.</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">March 5, 2025</p>
- <p class="text-gray-700">We are releasing version
<strong>v10.0.4</strong> and <strong>v9.2.9</strong> with several bugfixes and
improvements.</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">January 31, 2025</p>
- <p class="text-gray-700">We are releasing version
<strong>9.2.8</strong> with several bugfixes and improvements.</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">January 31, 2025</p>
- <p class="text-gray-700">We are releasing version
<strong>10.0.3</strong> with several bugfixes and improvements.</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">November 26, 2024</p>
- <p class="text-gray-700">We are releasing version
<strong>v9.2.7</strong> with several bugfixes.</p>
- </div>
- <div class="border-l-4 border-accent pl-6 py-2">
- <p class="text-sm text-secondary font-semibold
mb-1">November 12, 2024</p>
- <p class="text-gray-700">We are releasing version
<strong>v10.0.2</strong> and <strong>v9.2.6</strong> with several bugfixes and
improvements.</p>
- </div>
+{{NEWS_ITEMS}}
</div>
<div class="mt-8 text-center">
@@ -337,8 +312,6 @@
<h3 class="text-sm font-semibold text-gray-900 uppercase
tracking-wider mb-4">Resources</h3>
<ul class="space-y-3">
<li><a
href="https://docs.trafficserver.apache.org/en/latest/index.html"
class="text-secondary hover:text-accent
transition-colors">Documentation</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/Apache+Traffic+Server"
class="text-secondary hover:text-accent transition-colors">Wiki</a></li>
- <li><a
href="https://cwiki.apache.org/confluence/display/TS/FAQ" class="text-secondary
hover:text-accent transition-colors">FAQ</a></li>
<li><a href="https://github.com/apache/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Source Code</a></li>
</ul>
</div>
@@ -369,8 +342,7 @@
<ul class="space-y-3">
<li><a href="/newsite/press.html"
class="text-secondary hover:text-accent transition-colors">Press Kit</a></li>
<li><a href="/newsite/acknowledgements.html"
class="text-secondary hover:text-accent
transition-colors">Acknowledgements</a></li>
- <li><a href="https://blogs.apache.org/trafficserver/"
class="text-secondary hover:text-accent transition-colors">Blog</a></li>
- <li><a href="https://twitter.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">Twitter</a></li>
+ <li><a href="https://x.com/trafficserver"
class="text-secondary hover:text-accent transition-colors">X</a></li>
</ul>
</div>
</div>
@@ -393,3 +365,4 @@
<script src="/newsite/js/menu.js"></script>
</body>
</html>
+
diff --git a/content/newsite/versions.json b/content/newsite/versions.json
new file mode 100644
index 0000000..d69534e
--- /dev/null
+++ b/content/newsite/versions.json
@@ -0,0 +1,56 @@
+{
+ "versions": {
+ "v10": {
+ "version": "10.1.0",
+ "date": "August 13, 2025",
+ "branch": "10.1.x",
+ "description": "First minor version of ATS 10 with new features and
improvements",
+ "label": "Latest Stable",
+ "label_color": "green"
+ },
+ "v9": {
+ "version": "9.2.11",
+ "date": "June 17, 2025",
+ "branch": "9.2.x",
+ "description": "Long-term support with security fixes and critical
updates",
+ "label": "LTS",
+ "label_color": "blue"
+ }
+ },
+
+ "news": [
+ {
+ "date": "August 13, 2025",
+ "text": "The first minor version of ATS 10 is released:
<strong>v10.1.0</strong>!"
+ },
+ {
+ "date": "June 17, 2025",
+ "text": "We are releasing version <strong>v10.0.6</strong> and
<strong>v9.2.11</strong> which include security fixes and improvements. We
recommend everyone to upgrade to one of these versions of ATS."
+ },
+ {
+ "date": "April 2, 2025",
+ "text": "We are releasing version <strong>v10.0.5</strong> and
<strong>v9.2.10</strong> which include security fixes and improvements. We
recommend everyone to upgrade to one of these versions of ATS."
+ },
+ {
+ "date": "March 5, 2025",
+ "text": "We are releasing version <strong>v10.0.4</strong> and
<strong>v9.2.9</strong> with several bugfixes and improvements."
+ },
+ {
+ "date": "January 31, 2025",
+ "text": "We are releasing version <strong>9.2.8</strong> with several
bugfixes and improvements."
+ },
+ {
+ "date": "January 31, 2025",
+ "text": "We are releasing version <strong>10.0.3</strong> with several
bugfixes and improvements."
+ },
+ {
+ "date": "November 26, 2024",
+ "text": "We are releasing version <strong>v9.2.7</strong> with several
bugfixes."
+ },
+ {
+ "date": "November 12, 2024",
+ "text": "We are releasing version <strong>v10.0.2</strong> and
<strong>v9.2.6</strong> with several bugfixes and improvements."
+ }
+ ]
+}
+