• Resolved noxos

    (@noxos)


    First, congratulations on the quality of this plugin.

    All plugins and WP are up to date.

    I use pagination on several tables, and the problem I’m encountering is that when the page loads, all the rows are visible for a few seconds before the table displays correctly with pagination.

    Is there a way to prevent this ?

    I’m using W3 Total Cache.

    Do I need to configure anything special to resolve this issue ?

    I checked the forum and FAQ but couldn’t find any topics dealing with this problem.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi @noxos!

    Thanks for your post and sorry for the trouble!

    This observation is correct and the expected behavior. The reason for this basically is that the full table is loaded first, as part of the HTML code, and only then the pagination is added via JavaScript.

    Now, normally, this is not really noticable, except maybe if the table is comparably big. In this case, it can be worthwhile to switch to different loading mechanisms that TablePress supports in its TablePress Max premium versions: The “Advanced Loading” feature uses a different data format (JSON instead of HTML code), which makes this process faster. And for even bigger tables, the “Server-side Processing” feature will result in only the needed data to be sent from the server to the browser.

    If you can post a link to the page with your table, I’ll be happy to take a look and give you direct feedback!

    Best wishes,
    Tobias

    Thread Starter noxos

    (@noxos)

    Thanks for all the explanations.

    Actually, I’m looking for a free solution, without having to upgrade to the Max version.

    Is this available in the Pro version ? Max, sorry, but I can’t afford it. Pro, yes, that would be possible.

    The table isn’t very big, 13 columns and 80 rows.

    Isn’t there a configuration setting for the caching plugin ? Perhaps it’s an option; thank you for your replies.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    Sure, I totally understand that!

    Note that this has nothing to do with a caching plugin, it’s simply a consequence of the code execution order. Now, it’s however a bit odd that you are seeing this with a (comparably) small table like this. Normally, this should be pretty quick so that the delay should not be noticeable too much. Can you please send me a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Best wishes,
    Tobias

    Thread Starter noxos

    (@noxos)

    I duplicated it on a less important site

    (link removed)

    however, it seems less noticeable on this site.

    Yes, I understand that the cache isn’t the issue; I need to find a solution to use a different data format (JSON instead of HTML code).

    Doesn’t the Pro version offer this?
    It would have been so much simpler.

    Thanks

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    Thanks for the link! Indeed, it’s pretty much not visible/noticeable on this site. In practice, this will also be “helped” by the table being in the lower part of the page, so that the table will be shown with pagination once the visitor has scrolled down to it.

    Correct, as these are kind of complex (and also valuable) features, they are not part of TablePress Pro, but of TablePress Max. (Note that you can save money here with a multi-site license package here, as you seem to have multiple websites. In addition, feel free to use the promo code UPGRADE for a discount. 🙂 .)

    Best wishes,
    Tobias

    Thread Starter noxos

    (@noxos)

    Thank you for all your explanations, I will think about it.

    Best regards

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    sure, no problem! If there’s anything else, feel free to also reach out via email, via the “Send us an email” button at the bottom of https://tablepress.org/pricing/!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.