Navigation

    Quasar Framework

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Fahad
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 1
    • Groups 0

    Fahad

    @Fahad

    1
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Fahad Follow

    Best posts made by Fahad

    • Need to exclude admin routes from prefetching in ssr+pwa mode

      I want to dynamically load contents for my site and use PWA features e.g. saving apps on mobile and desktop.

      Currently, I have fresh installation with some test pages and components. All my routes and components are using dynamic imports to load js chunks only when user goes to a particular route or a component is rendered and it is working fine in SPA and SSR mode. The problem occurs in PWA mode when it prefetches all chunks.

      2019-10-15 17_28_28-DevTools - localhost_8080_.png
      Here everything is being downloaded and when I view admin component in browser (which is chunk 4.js) the size column mentions that it is already prefetched.

      In my case most users will be only there to view pages and it will put extra load on my server to provide unnecessary components for the user.

      posted in Framework
      F
      Fahad

    Latest posts made by Fahad

    • Need to exclude admin routes from prefetching in ssr+pwa mode

      I want to dynamically load contents for my site and use PWA features e.g. saving apps on mobile and desktop.

      Currently, I have fresh installation with some test pages and components. All my routes and components are using dynamic imports to load js chunks only when user goes to a particular route or a component is rendered and it is working fine in SPA and SSR mode. The problem occurs in PWA mode when it prefetches all chunks.

      2019-10-15 17_28_28-DevTools - localhost_8080_.png
      Here everything is being downloaded and when I view admin component in browser (which is chunk 4.js) the size column mentions that it is already prefetched.

      In my case most users will be only there to view pages and it will put extra load on my server to provide unnecessary components for the user.

      posted in Framework
      F
      Fahad