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

    [Cordova] preload route for fast rendering

    Help
    3
    4
    1261
    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
      Gatsbill last edited by Gatsbill

      Hi,

      I’m using vueJS 2 and vue-router (with es6, single component) to create a cordova mobile application and I noticed that the app was slow on first rendering.

      For exemple I have a small modal that appears on button click. This modal is slow the first time I click on the button but after that the render speed is good. I think the webview is caching HTML once it has been loaded and that could explain the fact that it’s only slow the first time.

      So how can I preload data before starting my app ?

      In angular Js 1 all I had to do was using angular template cache to cache all my HTML files but with vue js 2 I don’t have any similar thing.

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

        Any idea?

        1 Reply Last reply Reply Quote 0
        • rstoenescu
          rstoenescu Admin last edited by

          No preload is necessary as that isn’t the problem. Don’t really have time to explain now, but v0.14 will have some optimizations so the problem will go away when you upgrade your app. Thanks for your patience regarding the new release.

          1 Reply Last reply Reply Quote 0
          • S
            stuartcusack last edited by

            Any update on this? I get choppy performance on the first click on my app, which uses sliding transitions on the router. The first transition stutters quite a bit, but after that things are much smoother. Quasar v0.17.17

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