• Resolved yoyokhan

    (@yoyokhan)


    Hi, I am using this plugin and everything was fine. Now, it is not working and i am getting error that” cache seems not working on static and dynamic pages”.

    When i inspected my site, i found that cf cache staus is varying from MISS, Expired or HIT.

    Kindly help to solve the issue. Thanks

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter yoyokhan

    (@yoyokhan)

    Due to this error, homepage is showing cached posts rather than latest/updated. I am using autoptimizer plugin. I also tried various tweaks already mentioned but nothing helped.

    Only main change in the site was the installation of the official AMP plugin and its uninstallation after 1 day.

    Thanks

    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    The Test Cache button sometimes gives false positive. That is why it is best to look at your site’s response header. While looking at your site’s response header: https://i.imgur.com/FjG95jl.png I can see that the plugin is working perfectly fine.

    I will also recomm3end you to enable the Tiered Cache option under the Cloudflare dashboard > Cache tab.

    Thread Starter yoyokhan

    (@yoyokhan)

    Hi, Thanks for your response.

    Tiered Cache

    is already enabled. So what’s about showing cache homepage ? I updated few posts but homepage was showing only cache version.

    Thanks for your responce

    Plugin Contributor iSaumya

    (@isaumya)

    Huh! that is wired. Can you try adding define( 'SWCFPC_HOME_PAGE_SHOWS_POSTS', true ); in your wp-config.php file and check if the issue gets resolved?

    Thread Starter yoyokhan

    (@yoyokhan)

    Thanks for responce. I tried but still same.

    Plugin Contributor iSaumya

    (@isaumya)

    That is so wired. Enable the log mode inside the plugin settings and within the other tab of plugin settings set the log verbosity to HIGH. Then update the post and wait for the pages to be purged and check the response in the log.

    Thread Starter yoyokhan

    (@yoyokhan)

    Hi, here link to the log.

    https://file.io/lcWGsBASrbO4

    Thanks

    Plugin Contributor iSaumya

    (@isaumya)

    I don’t see any issues in the log. Have you set the log verbosity to HIGH?

    Thread Starter yoyokhan

    (@yoyokhan)

    yes. I set log verbosity to HIGH. Updated a post but nothing happened.

    Thread Starter yoyokhan

    (@yoyokhan)

    I have created a subdomain and installed the plugin but got the same error “cache not working for both content static and dynamic” and cache status in header was dynamic.
    subdomain is data122.dailyinfotainment.com

    Can this be related to hosting ? I checked from them for any changes they made but their response was No.

    I really liked using this plugin but this error is causing issues.

    Thanks

    • This reply was modified 2 years, 10 months ago by yoyokhan.
    Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    As I was checking your subdomain I can see that the plugin is properly set. The only reason the cache is not working there might be because you already have 3 page rules in your cloudflare account for that domain and so the plugin was unable to create a page rule for the subdomain site.

    Regarding the post not being updated. As you have set the log verbosity to HIGH. Now please update a post and share the log.

    Thread Starter yoyokhan

    (@yoyokhan)

    Hi, Thanks for your response. I have uninstalled the plugin from the main domain and now using it on two subdomains, So the page rules issue is not there.

    I have updated a post and published a new one as well on subdomain data122.dailyinfotainment.com but still it is not visible on the homepage.

    Here is log file https://file.io/xZcskdm1hYg3

    Thanks

    Plugin Contributor iSaumya

    (@isaumya)

    Hi, it seems the log file that you have shared has been deleted. Please share the log file again. Please make sure it is a current log file.

    Thread Starter yoyokhan

    (@yoyokhan)

    Here is file link. https://file.io/nBQA4M5oUANs , https://ufile.io/iebex54r

    • This reply was modified 2 years, 10 months ago by yoyokhan.
    Plugin Contributor iSaumya

    (@isaumya)

    Try disabling the preloader and then update your content. Check if that resolves the problem as I am not seeing any issues in the logs.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Not working on static and dynamic pages’ is closed to new replies.