• Resolved cyrix2000

    (@cyrix2000)


    Hi,
    MC wishlist seems to be adding random identifiers to its js code, e.g. data-popup-id=”add_to_wishlist_popup_xxxxx_1155382550″. The issue with that is that it is triggering LiteSpeed Cache to generate a new cached version of the combined JS file with each page load. I tried already to exclude “add_to_wishlist_popup” from Litespeed JS cache but that didn’t fix the issue. Do you have an idea how to stop this behaviour?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author moreconvert

    (@moreconvert)

    `Hi,
    Change the value of wp_rand in the file:
    wp-content/plugins/smart-wishlist-for-more-convert/templates/add-to-wishlist.php with wp_unique_id
    As well:
    Inside the
    wp-content/plugins/smart-wishlist-for-more-convert/includes/class-wlfmc-shortcode.php file, you must change wp_rand() to wp_unique_id(),
    it repeated three times.
    We will resolve it in the next version too.
    Thanks for your report.

    Plugin Author moreconvert

    (@moreconvert)

    Please tell me if it’s not solved, you probably have another problem. If you can’t change it, wait for the new update.
    These changes have been applied in the next update.

    Thread Starter cyrix2000

    (@cyrix2000)

    Hi,
    Thanks, that fixed the issue ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘add_to_wishlist_popup: random ID & Litespeed Cache’ is closed to new replies.