How riccardofus/cavi-website works
Project type and purpose
• This is a static, front-end-only website (single HTML page plus CSS, plus miscellaneous downloadable CVs).
• Purpose: serve an index.html page styled by style/styleNew.css, and host several PDF/LaTeX files under misc/ for download.
File structure
• index.html at root: the entry point, delivers the page markup.
• style/styleNew.css: the styling sheet loaded by index.html.
• misc/: a directory of static assets (PDFs, TeX sources) that the user can download.
• No server-side code, no databases, no build scripts.
Extract insights from the README
• README.md is minimal (just “# Cavi Website”), confirming this is a static site without complex internal architecture.
Main components
a. User Web Browser (Client)
b. DNS / Domain Name
c. CDN / Static Web Host (e.g., S3 + CloudFront, Netlify, GitHub Pages)
d. Storage of static assets
– index.html
– styleNew.css
– misc/*.pdf, *.tex, etc.
e. Optional: Local Development Environment (e.g., file:// or local HTTP server)
Relationships and interactions
• User → DNS: resolves the domain name to the CDN endpoint
• User → CDN: HTTP GET index.html
• CDN → Storage: fetch index.html, CSS, PDF assets on cache miss
• CDN → User: serve cached or origin-fetched assets
• index.html → style/styleNew.css: the browser issues an HTTP request for the CSS file
• index.html → misc/*.pdf links: the browser downloads PDFs on click
Architectural patterns & design principles
• Static-site architecture: “Everything is a static file.”
• CDN-backed delivery for low latency and high availability.
• Separation of concerns: HTML (structure), CSS (presentation), and assets (documents) are in distinct folders.
Technologies / frameworks
• HTML5 (index.html)
• CSS3 (style/styleNew.css)
• Static-file hosting (e.g., AWS S3 + CloudFront, Netlify, GitHub Pages)
• DNS provider
Detail without over-thinking
• Even though the project is simple, capture:
– The flow of requests (Browser → DNS → CDN → Origin).
– The separation of assets (HTML vs. CSS vs. downloadable PDFs).