• Resolved akt01

    (@akt01)


    Hi,

    Thanks for the interesting plugin! I’m wondering if you can comment on some of the questions below in the context of performance/speed impact on the site?

    1. Does the plugin loads all of the related files (including the JS, CSS, any other dependencies) all of the time on all pages, or only on specific page that calls the shortcode? Can it be made strictly only when the shortcode is called, so it will add zero weight on any other pages or when the shortcode is not called?

    2. In your opinion how does shepherd.js compared to intro.js? In terms of features and how lightweight it is.

    3. How much more weight is added by the plugin compared to just enqueuing and calling the shepherd JS/CSS directly?

    Thank you very much!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter akt01

    (@akt01)

    A few follow-ups to #1:
    1b. After a user finished the Tour, it will be hidden, but are the JS/CSS files still loaded on page loads, or do they become completely inactive and thus do not add any load/files once the Tour is finished?

    1c. After a user finished the Tour, can the user re-visit the Tour by going to a certain page or triggering it some way/by some link?

    Thanks!

    Plugin Author Atanas Yonkov

    (@nravota12)

    Hi @akt01 ,
    This plugin loads the shepherd.js library that consists of one small minified js file, so I would not worry too much about it. The plugin uses browser localstorage to determine whether to show the tour. Localstorage is not accessible via php, so I do not think there is a way not to load this js file.

    I haven’t used intro.js, so I cannot comment on that.

    As for the question whether the tour can be triggered via a link, this can be done by extending this plugin.

    By the way, contributions to this plugin are always welcome. There is always a room for improvement. If you have any ideas, you are encouraged to create a pull request at the official plugin’s repo.

    Thread Starter akt01

    (@akt01)

    Hi,
    Thank you for the response, got it.
    All the best for the plugin!

    Thread Starter akt01

    (@akt01)

    Marking this as resolved. Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Performance impact on the site’ is closed to new replies.