No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Static site generator

    Help
    3
    3
    1643
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      gent_911 last edited by

      Hey guys,

      I am developing a website with some dynamic content, but over 99% of it is static i.e. pages / posts etc. At the moment I use SSR mode and get all the content via GraphQL in serverPrefetch(). Well, it works fine for development, but it is an absolute overkill when going live.

      What I would like to have is to generate a pre-rendered site for a web server (e.g. nginx) to serve.

      The only solution I have so far is - fetch the site, save it in some json file and then have the quasar component read the content from that pre-fetched / save json file.

      Thanks in advance for your input.

      Best,
      Dmitry

      1 Reply Last reply Reply Quote 0
      • G
        greenzone last edited by

        You should look into this https://github.com/quasarframework/quasar/issues/2299

        I was also looking stuck in a similar problem recently. I found this issue that might be relevant to you.

        1 Reply Last reply Reply Quote 0
        • J
          jraez last edited by

          Just a silly remarks, I know it’s not the same but why not use Nginx proxy cache?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post