Is there any products that support CMS as backend and automatically generate HTML as frontend OOTB?
Is there any products that support CMS as backend and automatically generate HTML as frontend OOTB?
Here is the location of the Drupal plugin: https://github.com/gatsbyjs/gatsby/tree/master/packages/gats...
And the headless Drupal GatbyJS demo: https://using-drupal.gatsbyjs.org/
Have you used it with a Drupal or WordPress on a larger site? To do a decoupled site, every time someone publishes a new article or a change, you are going to have to do a ton of HTTP requests during build time for Gatsby since incremental builds are not a thing yet. If you use the Drupal Paragraphs module, that can really complicate things as well. The only way around this with Gatsby that I can think of is to have Drupal create a repository of static files that get incrementally updated. Then Gatsby could grab a compressed version of this during build & create a new version of the site.
I would love to hear thoughts from anyone else though as I'm sure better ideas must exist.
I noticed that the Gatsby WordPress plugin hits every endpoint on your site to build the graphql data store, you could probably modify it to just hit the ones you need. Additionally I feel like there should be a way to do persistent incremental builds. At least there should be a way to cache the graphql stuff. Maybe a incremental webpack build plugin exists.
It supports multilingual content, custom content types, media... Most of what you'd do with any other CMS.
For reference, it runs the new Starbucks website [2].
1: https://github.com/Wiredcraft/jekyllplus
2: https://wiredcraft.com/blog/the-new-starbucks-cn-website-bol...
An honorable mention goes to Netlify CMS. I just wish they had documentation on how to host the service yourself.
1: https://github.com/Wiredcraft/jekyllplus#quick-start
2: https://github.com/Wiredcraft/jekyllplus#installation--devel...