Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Back to Basics with Static Websites

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on. →

Back to Basics with Static Websites

Avatar for Otar Chekurishvili

Otar Chekurishvili

December 19, 2015

Other Decks in Programming

Transcript

  1. Outline • What Are Static Websites? • A Bit of

    History (how we got here) • Benefits of Going Static • When to Use Static Websites • Case Studies
  2. C A U T I O N ! You May

    Have A Paradigm Shift During This Presentation
  3. When I Mention Static Websites in a Geeky Talks... Casual

    Reaction by Other Developers: “WTF is that?” “Never heard about it.” “Yes, but who needs static...” “Come on... everyone knows HTML.” “We already have WordPress...” “It is toooooo simple.”
  4. Dynamic vs Static Dynamic Websites: • Need Web Application Server

    (Apache/Nginx...) • Need Server-Side Scripting Language (PHP/Python/Ruby/.NET...) • Generate Content For Each Request • Usually Use Database • ...and other services Static Websites: • Need Simple Server (for serving static assets) • Serve Requests Directly From the File-System • Do NOT Need Server-Side Scripting Language • Lightweight (pure HTML & CSS)
  5. The Very First Website Ever Made Created By This Man,

    Tim Berners-Lee He is an author of WWW, The World Wide Web.
  6. Evolution Of The Web • First Static Websites • Web

    Servers • Dynamic Server-Side Scripting Languages • Server-Side Frameworks • Content Management Systems • Client-Side Applications • Static Websites Again • Journey continues...
  7. The Most Important Factor of Modern Static Websites. Performance is

    a Mandatory Feature! Why Care About Speed? UX, Search Engine Ranking, Conversions, Revenue… It Affects Everything!
  8. Benefits: • Speed, Speed and Speed! • Scalability • Simplicity

    (No Dependencies) • Version Control • Security
  9. Limitations • No Dynamic Logic • Hard To Manage Content

    • Mostly Needs Developer Involvement • TL;DR: Often Not Suitable for Interactive or Enterprise Websites (YET)
  10. Common Use Cases: • Static Website Generators Simple Websites, Blogs,

    Landing Pages, Documentations… • Cache Layer Pre-Cache Dynamic Websites to Make Them FLY!
  11. • Raised $250M Online • Jekyll Generator • Hosted on

    AWS S3 • Distributed on Akamai CDN Obama Campaign
  12. • Jekyll Generator • Prose.io for Content • Content Access

    via REST API • Distributed on CDN • Reduced Cost of 30 Servers Healthcare.gov
  13. Resources and Companies to Watch: • StaticGen.com • GitHub Pages

    • Netlify • CloudCannon • Firebase • Contentful / GatherContent / Prose.io • WP Super Cache • CDN - Content Delivery Networks • And Many More on Google :)