• Resolved savingsbazar

    (@savingsbazar)


    Hello Team,

    I hope W3 Team is keeping fine in these tough times. I just migrated from http to https for my website. Page Cache was working perfectly with auto preload on HTTP, however after I shifted to https Preloading of SSL Pages is not working. I have enabled the option Cache SSL (HTTPS) requests (Cache SSL requests (uniquely) in page cache for improved performance). However, preloading of HTTPS (SSL) pages does not work. So I cloned my website and again tried to recheck whether preloading works on http (Non-SSL) version, and it works.

    Page Cache is working with HTTPS only when a visitor visits the page (The cache gets generated only when a customer visits that link), It does not get generated automatically even though Cache Preload is enabled with Automatic Priming of Cache. So the issue is with preloading the HTTPS Pages. I want the HTTPS (SSL) Page cache to be preloaded.

    Team, I am looking to reslove this issue ASAP. Can you please help me with this?

    • This topic was modified 6 years, 1 month ago by savingsbazar.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    Can you please double check your sitemap if it actually contains https pages?
    Thank you!

    Thread Starter savingsbazar

    (@savingsbazar)

    Dear Marko,

    Thanks for the prompt reply. I have just checked my sitemap_index.xml file, I confirm that it has all the https Pages.

    Can you share with me your Skype or Email Address so that I can send you additional information about my domain & Logs ?

    Regards,
    Tejas Thakker

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar

    Thank you for the information.
    Please drop us a note via the plugin in Performance>Support> or via our website https://www.w3-edge.com/contact/
    Thank you!

    Thread Starter savingsbazar

    (@savingsbazar)

    Dear Marko,

    I have filled out the Contact Form from the above link you have shared. I hope you have received it. Lets continue the conversation there..

    Regards,
    Tejas (Savings Bazar)

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar

    Thank you!

    Thread Starter savingsbazar

    (@savingsbazar)

    Dear Mr Marko,

    Hope you are doing fine. I have replied to you on the email, however not getting any response from couple of days. This is just to check whether you have received my Email ?

    Regards,
    Tejas

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar

    I can confirm that we received the first email and replied to it.
    But we never got a reply from you after that.
    Please try again or send us an email via the plugin in Performance>Support.
    Thank you!

    Thread Starter savingsbazar

    (@savingsbazar)

    Dear Marko,

    I have sent an email via Plugin Performance>Support. Can you please check if you have received it now ?

    Regards,
    Tejas

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar

    Yes, we received your email and replied to it.

    Thank you!

    Thread Starter savingsbazar

    (@savingsbazar)

    Dear Mr Marko,

    Looks like there is some problem with the emails, lets continue here itself.

    Please find below links for screenshots of my W3 TC – General Settings & Page Cache Settings. Also, please note that cache preloading is working only when i visit that particular page (Only then the cache for the same page is being generated). Automatic Cache Preloading / Priming is not working.

    General Settings: https://ibb.co/pvGfLPP

    Page Cache Settings: https://ibb.co/JC4mPTw

    Please help.

    Regards,
    Tejas

    • This reply was modified 6 years, 1 month ago by savingsbazar.
    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar
    Yes, apparently we are not receiving your emails.
    The problem is with the sitemap URL.
    your sitemap URL is sitemap_index.xml
    it should be like this:
    https://yourwebsite.com/sitemap_index.xml

    This is a full sitemap URL of your website and W3 Total Cache needs it to be able to cache the entire website.
    Thank you!

    Thread Starter savingsbazar

    (@savingsbazar)

    I have made the necessary changes as suggested. However, same issue.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @savingsbazar

    What the Cache Preload does is this:
    – Check the last offset
    – Check how many URLs are allowed to be processed per run
    – Fetch all URLs from sitemap (even nested sitemaps work)
    – Loop through a set of URLs to visit them
    If the end of the list is reached, it will start from the beginning of the next run.
    Basically it’s like visiting the website to do what a real visitor would do otherwise. The cron job triggers the page cache generation, so the real visitors won’t experience any delay. The user agent used for the cronjob is “WordPress”, which is automatically ignored by Page Cache. So you may need to visit the page first to start the trigger the cron.
    Also, the interval of 120 s is to often so you should increase that to the default of 900s or at least 600s
    As two cron is not very reliable you can also disable it by adding define('DISABLE_WP_CRON', true); to your wp-config.php and Once this is done, you needs to create and Schedule System Cron that will call wp-cron.php at a set interval. you can do this on your host and the example is:
    */10 * * * * wget -q -O - http://www.example.com/ >/dev/null 2>&1
    In this case the cron job will be triggered every 10 minutes.

    If you don’t want to rely on wp-cron – use wp-cli command for preloading and Unix cron
    wp w3-total-cache pgcache_prime
    This way you can also track the output which pages/sitemap positions are primed by script.

    I hope this helps!

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

The topic ‘Page Cache Preload + SSL Not Working’ is closed to new replies.