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

    How to use runtimeCaching when building a SSR + PWA app in Quasar

    Framework
    1
    1
    211
    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.
    • H
      HakonArnar last edited by

      Hi ,
      So I’m building an SSR + PWA Quasar app using my custom service worker, following the instructions on how to do so. My static cache worked when I was only building a PWA and just had to define which pages to cache inside my custom-service-worker.js file.
      When I added the SSR mode I saw that according to the docs (https://quasar.dev/quasar-cli/developing-ssr/ssr-with-pwa#Caveat) I have to use runtimeCaching inside my quasar.conf.js to specify the URL routes I wish to cache so my quasar.conf.js looks like this:
      confjs.PNG

      The problem is that when I run: quasar dev -m ssr it always seems to get stuck at 95% emitting: stuckemitting.PNG

      Is there something I’m missing or doing wrong?

      Please let me know if you need further information 🙂

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