• Resolved hugosilva23

    (@hugosilva23)


    Hello! Thanks for this great plugin.

    The only issue I’m facing is that the page loading (backend) is slow when I deactivate “dynamic loading.”

    I don’t want to use this feature. Is there any way to improve loading speed?

    Thanks in advance!

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • denisgomesfranco

    (@denisgomesfranco)

    I noticed that as well. I have been checking the browser’s network logs and it seems like after UiPress loads its own initialization scripts it then proceeds to load WordPress’ admin scripts all over again.

    So for example in the end I have two calls to keycodes.min.js, two calls to keyboard-shortcuts.min.js, etc. ~327 requests with UiPress enabled, ~147 requests without UiPress.

    And this is both with and without dynamic loading. Dynamic loading only makes it seem faster because it will only load the page contents with each click after the dashboard has been loaded the first time. The first load still causes those ~327 requests.

    Plugin Author UiPress

    (@admintwentytwenty)

    hello,

    yes it will run slower when you disable dynamic loading as it means it has to query for the right template and load the app on every page. When dynamic loading is enable it only loads the app once, after that all other pages are loaded in the frame without querying for templates etc.

    We are nearing completion on version 4 which is way more performant that v3 and the above issues will no longer be a problem.

    Thanks,

    Mark

    Thanks for chiming in, Mark. Eagerly waiting for v4, I hope the new version being more speedier won’t have this issue of loading the same scripts twice.

    Plugin Author UiPress

    (@admintwentytwenty)

    Hey,

    Just to update, we just release version 3.4 which is a speed / performance focused update. Even with dynamic loading disabled, pages should now be loading quicker than ever.

    Thanks,

    Mark

    Hi @admintwentytwenty , thanks for the update!

    I did update the plugin in a test site that I have and I noticed that the number of requests and resources transferred seemed to have lowered only by a little bit, plus the double-loading of files is still present as I checked via the Network tab in the inspector.

    The plugin may seem to have gotten faster but I haven’t had enough time yet to do a detailed assessment.

    Plugin Author UiPress

    (@admintwentytwenty)

    hey @denisgomesfranco, thanks for the feedback!

    Did you refresh the browser and clear cache after updating? The file requests have gone down from over a hundred to about 2 – 3 in our tests. This is excluding requests for svg icons however as we are no longer using an icon font.

    Regarding the double load, on entry / reload the page is loaded once and then the dom is manipulated and copied into an iframe so I shouldn’t be double loading anymore but let us know if it is and we’ll investigate again.

    Thanks,

    Mark

    Hi Mark, thanks for getting back. Yes I cleared everything.

    Just as an example, and please take note that I’m observing all requests and not only those from UiPress, when accessing to the Products page (wp-admin/edit.php?post_type=product), with UiPress enabled I see 372 file requests in the Network tab. With UiPress disabled this goes down to 178.

    UiPress seems to be faster now, so that’s great news! But when I started this thread I was comparing UiPress with no-UiPress to measure the impact on dashboard performance, since clients will be using that all day long.

    Plugin Author UiPress

    (@admintwentytwenty)

    Hey @denisgomesfranco,

    Thanks for clarifying, yes the number of requests will be higher due to the same assets being requested inside and outside the frame. It’s worth noting however these will be served from memory / browser cache so shouldn’t have an impact on server performance.

    Thanks,

    Mark

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.