Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jose Varghese

    (@josevarghese)

    Hi @albertalbs

    Thanks for using Super Web Share plugin and also for opening the topic.

    I checked the homepage and noticed the issue you have mentioned. However, when I checked the source code, I noticed that a script we added for the share button within the head having the values to trigger the share button when its clicked is not showing. Mostly, it would be because the page is cached and didn’t get flushed for non-login users or because it’s being removed by WP Rocket or via Cloudflare. So I checked the non-cached version of the page by adding the ?nocache parameter to the end of the URL and noticed that the script is added on the source code. After that the native sharing function works on Android devices, and the fallback share button is showing on desktop browsers for this parameter URLs. Please look at the screenshot from the desktop https://ibb.co/Tb9my5n and the mobile browser https://ibb.co/9b71p66. So, can you please try to flush the cache at WP Rocket and the Cloudflare end to check whether the share button is loading correctly?

    We look forward to hearing from you and are happy to help you.

    Thread Starter Albert Albs

    (@albertalbs)

    Hi @josevarghese

    Thank you for taking the time to review this and for your assistance. Yes, I have confirmed the same. It appears that the issue is related to the cache plugin. In this situation, I can exclude the JS and CSS files in the cache settings. Can you please specify which files need to be excluded?

    Plugin Author Jose Varghese

    (@josevarghese)

    Hi @albertalbs

    Thanks for getting back. In most cases, flushing the cache will fix it. So, have you tried it first?

    The JavaScript script that is missing on the cached version of your website is not a file; it’s a JS script. This JS script is added at the head section containing the values from the settings page for our JS file to trigger based on it. You can find out the script in your non-cached version as the following: https://gist.github.com/josevarghese/f9c5643c81b1da822f7922f529cb0d1b. This script contains the parameters from the settings page, so flushing the cache is recommended method than any other methods. Also thee JS files is within the URL : /wp-content/plugins/super-web-share/public/js/super-web-share-public.min.js

    While checking the page, I also noticed that the cookie consent popup is only loading on the non-cached version and not within the normal page. So, it seems like another plugin on your website is also affected by the caching. In this case, I recommend you reach out to the caching plugin support team once after flushing the cache at plugin/server and Cloudflare level, as there may be a setting that is accidentally enabled or disabled causing it.

    Thread Starter Albert Albs

    (@albertalbs)

    Thanks for your response @josevarghese.

    No, even flushing the cache is not working. I’ve tried that many times. I’m going to deactivate the cache plugin and try again.

    Thread Starter Albert Albs

    (@albertalbs)

    Hi @josevarghese
    I enabled Safe Mode and connected Cloudflare via a cache plugin. Now everything is working fine. Thanks for your support. ??

    Plugin Author Jose Varghese

    (@josevarghese)

    Hi @albertalbs

    Wow, thanks for the kind words and sharing it over here!! It’s great to hear that the issue was fixed after flushing the cache at the Cloudflare level.

    Please don’t hesitate to reach out to us if you have any other concerns. We’re here to help you!

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