Drupal and Gatsby, static without limits. Compiling more than 100,000 pages in less than what it takes to make a coffee

Oier Bravo

Session content
The challenge with large static sites involves efficient generation of a large number of pages as well as providing an agile experience for content editors. This session will be an inside look at our solution for decoupling XXL sites overcoming JSON:API limitations for efficient Drupal data extraction and creating an instant editing experience.

Goals achieved in our projects include:
- Ultrafast compiling times: 100,000 pages in about 4 minutes, 1 million pages in less than 30 minutes.
- High-bandwidth cost-effective solution for huge sites, infrastructure’s cost below 1,000$/month
- Absorbing any traffic peak capability
- Absolutely safe

In our talk, we're going to cover:
- Gatsby: what it is and why it outperforms a traditional Drupal in frontend
- Creating dynamic content like complex search engines without incurring in server costs
- Static Suite, builder-agnostic and extensible Drupal modules to build static sites:
-- Exporting system with JSON, GraphQL and JSON:API
-- Building system with instant preview and parallel compilations on site, AWS Codebuild, etc…
-- Deploying system to broadcast content to AWS S3, Netlify, Azure Blob Storage…
- Working demo: content editing instant preview onsite and full site deployment

Takeaways / learning objectives
- How to decouple Drupal with Gatsby using CDNs to generate indestructible sites avoiding exploitable servers (Drupalgeddons, data leaks, DDoS, ...)
- Best practices to manage large static sites
- Ideas to build dynamic services serverless

Target Audience
This session covers different interest groups, for example for those who want to create medium and large static sites, those who have websites with frequent content updates, those who have high infrastructure costs and want to explore making their sites static as an option or even those who need an absolutely secure environment without giving up on dynamic content, services and APIs.

Prerequisites
Attendees will get the most out of this session if they have background on Drupal 8 and Drupal decoupled concepts.

*Session Materials*

When & Where

Time: 
Tuesday, 8 December, 2020 - 09:30 to 10:10
Room: 
Barcelona room