Answers.Body: <p>I don’t have direct experience doing this yet, but I have a future project in mind so have been doing some research and tinkering. There are a few options I’m aware of and <a href="https://jamstack.org/" rel="nofollow noreferrer">JAMstack</a> does look like where the puck is headed.</p>
  
  <p>What you are probably looking for is the <a href="https://plugins.craftcms.com/craftql" rel="nofollow noreferrer">CraftQL plugin</a> and something like <a href="https://www.gatsbyjs.org/" rel="nofollow noreferrer">GatsbyJS</a>, there is an episode of the <a href="https://devmode.fm/episodes/build-blazingly-fast-websites-with-gatsby" rel="nofollow noreferrer">DevMode podcast</a> that goes into detail about how something like this is architected.</p>
  
  <p><a href="https://statamic.com/why" rel="nofollow noreferrer">Statamic</a> is another option to look at, the unreleased v3 will have an abstracted data layer to let you hook it up to Craft, (<a href="https://devmode.fm/episodes/statamic-3-with-jack-mcdade" rel="nofollow noreferrer">also discussed on DevMode</a>). If those don’t suite your needs there are many more <a href="https://www.staticgen.com/" rel="nofollow noreferrer">static generators</a> All you need is one that can consume an abstracted data layer, either a GrapQL endpoint or a REST endpoint, which you can create using the free first party <a href="https://plugins.craftcms.com/element-api" rel="nofollow noreferrer">element api</a> plugin.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-17T02:45:49.600Z
Answers.Text: I listened to the podcast; it sounds like a Rube Goldberg device at present - start with my own HTML, import into Craft, it generates PHP code, converts to GraphQL, then back into HTML!  I will look at Statamic too. Maybe I can consider it as a Craft alternative.
Answers.UserDisplayName: M Smith
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-16T01:15:28.093Z
Answers.LastActivityDate: 2019-06-16T01:15:28.093Z
Answers.UserDisplayName: Dane
Answers.Body: <p>The plan will be to use a static cache plugin.  The options we're evaluating are Blitz, Craft Static, and HTML Cache, all available from the Craft CMS plugin store.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-10-21T18:24:34.170Z
Answers.LastActivityDate: 2019-10-21T18:24:34.170Z
Answers.UserDisplayName: M Smith
Answers.Body: <p>Perhaps you could have a local/internal Craft install and then regularly run a script that crawls the site and saves all the pages as static HTML. Tools like <a href="https://www.httrack.com/" rel="nofollow noreferrer">HTTrack</a> already do a pretty good job of this. </p>
  
  <p>Or there are static cache plugins like <a href="https://putyourlightson.com/craft-plugins/blitz" rel="nofollow noreferrer">Blitz</a> that you might be able to utilise. They’re designed for caching, but if you warm the cache you might be able to export the static files for uploading to your host. </p>
  
  <p>UPDATE: Blitz 3 makes this possible. Read the announcement at: 
  <a href="https://putyourlightson.com/articles/blitz-3-embracing-the-jamstack" rel="nofollow noreferrer">https://putyourlightson.com/articles/blitz-3-embracing-the-jamstack</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-06-20T00:13:19.333Z
Answers.LastActivityDate: 2020-02-04T10:32:04.433Z
Answers.LastEditDate: 2020-02-04T10:32:04.433Z
Answers.UserDisplayName: Simon East
Body: <p>Our local dev environment allows us to run a CMS like Craft but our (government) host is static only. We currently accomplish things with movable type 4, but would like something more modern. MT 7 costs $1000 a year, so that is right out.</p>
  
  <p>Is there a plug-in for Craft that can export static html we can upload to our host?</p>
  
Tags: <plugins>
Title: Plug-ins for static hosting?
ThreadText: # Plug-ins for static hosting?
  
  (Asked by: username_0 on 2019-06-14)
  
  Our local dev environment allows us to run a CMS like Craft but our (government) host is static only. We currently accomplish things with movable type 4, but would like something more modern. MT 7 costs $1000 a year, so that is right out.
  
  Is there a plug-in for Craft that can export static html we can upload to our host?
  
  **Tags:** plugins
  
  
  ---
  
  ## 3 answers
  
  ### Answer by username_2 on 2019-06-20. Score: 4 | Accepted answer
  
  Perhaps you could have a local/internal Craft install and then regularly run a script that crawls the site and saves all the pages as static HTML. Tools like [HTTrack](https://www.httrack.com/) already do a pretty good job of this.
  
  Or there are static cache plugins like [Blitz](https://putyourlightson.com/craft-plugins/blitz) that you might be able to utilise. They’re designed for caching, but if you warm the cache you might be able to export the static files for uploading to your host.
  
  UPDATE: Blitz 3 makes this possible. Read the announcement at:
  <https://putyourlightson.com/articles/blitz-3-embracing-the-jamstack>
  
  
  ---
  
  ### Answer by username_1 on 2019-06-16. Score: 3
  
  I don’t have direct experience doing this yet, but I have a future project in mind so have been doing some research and tinkering. There are a few options I’m aware of and [JAMstack](https://jamstack.org/) does look like where the puck is headed.
  
  What you are probably looking for is the [CraftQL plugin](https://plugins.craftcms.com/craftql) and something like [GatsbyJS](https://www.gatsbyjs.org/), there is an episode of the [DevMode podcast](https://devmode.fm/episodes/build-blazingly-fast-websites-with-gatsby) that goes into detail about how something like this is architected.
  
  [Statamic](https://statamic.com/why) is another option to look at, the unreleased v3 will have an abstracted data layer to let you hook it up to Craft, ([also discussed on DevMode](https://devmode.fm/episodes/statamic-3-with-jack-mcdade)). If those don’t suite your needs there are many more [static generators](https://www.staticgen.com/) All you need is one that can consume an abstracted data layer, either a GrapQL endpoint or a REST endpoint, which you can create using the free first party [element api](https://plugins.craftcms.com/element-api) plugin.
  
  > **Comments:**
  > **username_0**: I listened to the podcast; it sounds like a Rube Goldberg device at present - start with my own HTML, import into Craft, it generates PHP code, converts to GraphQL, then back into HTML!  I will look at Statamic too. Maybe I can consider it as a Craft alternative.  
  
  ---
  
  ### Answer by username_0 on 2019-10-21. Score: 2
  
  The plan will be to use a static cache plugin. The options we're evaluating are Blitz, Craft Static, and HTML Cache, all available from the Craft CMS plugin store.
  
  
  ---
  
  