- WordCamp Nashville 2015 #WCN15
- Talk Title
- Infinitely Scalable WordPress
- Scott Humphries (@sscotth)
- “There’s little debate that WordPress is simply the best CMS on the planet, but relying on PHP and MySQL is holding it back from realizing its true potential. Imagine the flexibility and ease of use of WordPress with the sheer speed of static hosting or even infinite scalability with Amazon S3. I propose a solution for generating a static sites using WordPress as a CMS.”
Scott Humphries posed the question, “Can a single box serve an infinite number of users?” WordPress is a great CMS, but serving published content from MySQL with PHP has its limitations. Most post content is written once, published, and them continuously served from the database.
Instead, he suggests that content could be served from WordPress with a static site generator. This way instead of complicated caching the server simply serves HTML. Raw HTML also has the benefit of no security vulnerabilities, like the Space Jam website.
There are a few ways that Scott suggests going about serving static sites from WordPress, including the WP-API or command line tools like Grunt or Gulp. Regenerating the site after each new post, or (re)generating just the new or modified post, is significantly less taxing than WordPress rebuilding pages for each visitor.
A quick search returns a single Multi-Site install hosting 350 sites on a VPS, but being able to serve thousands of websites from a single simple server is definitely an interesting idea.