[Smush Pro] how to clear CDN Cache

Hi,
i am getting health report that it says – We noticed you’re using a caching plugin or caching from your hosting provider. Be sure to clear the cache to ensure the tracking appears on all pages and posts.
what i have gathered is even clearing the cache using other plugin, i am still getting this message because i am using CDN and the CDN cache needs clearing as well. but, i see no option.

could you plz explain on above or help, if i am right!!.

thank you
shyam

  • Dimitris Kalliris
    • Support Team Lead

    Hello there shyam

    Smush CDN doesn’t provide any way to flush CDN caching, but this shouldn’t be affecting tracking codes or any other aspect of the website anyway. :thinking:

    As I can’t reproduce this in my end, could you please grant temporary support access via the WPMU DEV Dashboard plugin? No need to share any WP admin credentials, just navigate in WP admin area under WPMU DEV -> Support -> Support Access page and click on the “grant support access” button. You can find detailed information about it here:
    https://wpmudev.com/docs/getting-started/getting-support/#chapter-5
    Please do reply back here when access is granted because we don’t get any notifications about it.

    Thank you,
    Dimitris

  • shyam
    • Flash Drive

    hi,
    that message appears and goes away, then appears again. It is like everyday. i dont think its major issue but it is something to do with cache for sure. It might not be the sumsh pro though.
    Also, i have the follwing message poping up every day from site health report:

    The scheduled event, smush_check_for_conflicts, is late to run. Your site still works, but this may indicate that scheduling posts or automated updates may not work as intended.

    Again this is also, on and off, kind of.

    I dont see any setting for sceduled in smush pro. I probably dont understand what that message is. You can explain to me if you have knowledge.
    I dont think any setting needs to be change, because i am happy with the page speed in gtmetrix.

    i am granting access to site now. from dashboard. Please have a look.

    Thank you,
    Sam

  • Pawel Pela
    • Ex Staff

    Hello shyam !

    Hope you’re having a great day!

    I checked your site, however I wasn’t able to find any specific cause of Site Health reporting this (actually it’s MonsterInsights reporting that via Site Health in this case).

    I noticed you’re using a caching plugin called Swift Performance Lite, so Monster is possibly referring to the option to clear cache you can access from the top admin bar via Swift Performance Lite >> Clear Cache.

    I don’t see any other signs of server-side caching, but that doesn’t mean there’s none on your hosting. You may want to check with your hosting provider to make sure the cache is cleared on their end.

    If that doesn’t help, I’d recommend reporting the issue to Monster Insights so they can check it out and make sure it’s not being triggered as a false alert.

    As for the The scheduled event, smush_check_for_conflicts, is late to run issue – smush_check_for_conflicts is a background task that Smush is running to do some regular maintenance checks. It uses wp-cron to run the task (wp-cron is a built-in WordPress feature that allows plugin authors to run background actions on a predefined schedule).

    The issue here is possibly caused by the fact that wp-cron can only run if the site is being visited. So for example if a task is scheduled to be run at midday and there’s no visitors until 1pm, then the task will be run at 1pm – so it will be 1h late. On every page load WordPress checks if there are any scheduled tasks that need to be run and executes them.

    You can read more about wp-cron here: https://wp-events-plugin.com/documentation/wp-cron/

    There are two ways to ensure the background wp-cron tasks are run regularly and as scheduled:

    1. Request your hosting provider to set up a server-side cron job for you to regularly “ping” your site. It’s basically like having a fake visitor that will trigger wp-cron to run.

    On our hosting we have such a server-side cron job set up by default – it runs every 5 minutes and calls a server side script that triggers all wp-cron tasks (using wp-cli) on the site.

    2. Use an external service to regularly ping your site. Example services like that are:
    https://www.easycron.com/
    https://www.pingdom.com/

    Hope this helps!

    Kind regards,
    Pawel

    • Pawel Pela
      • Ex Staff

      Hello KaziuDziad !

      Hope you’re doing well today!

      Since this is an old ticket created by another member, please create a separate ticket by going to the https://wpmudev.com/hub2/support page and clicking on “Get Support”.

      This is because even though issues may be similar, they may also be specific to your site and we’d like to solve them on a 1 issue per ticket basis. This will also speed up the responses in this case.

      Please describe the issue as you did in the separate ticket and please also enable Support Access when creating the ticket so our team can start helping you out right away. Here’s how to enable Support Access:

      [attachments are only viewable by logged-in members]

      Kind regards,
      Pawel