• Dear sir,

    once i active agilecrm woocommerce (the woocomerce versuib)plugin, it happen the error in test: Page caching seems not working for both dynamic and static pages.

    please help how o fix

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Can you please share your website URL so that I can take a look at it and try to find out whats’s happening?

    Thread Starter kloallan

    (@kloallan)

    https://www.keyboardikbc.com/

    thanks and pls check hte error message when i run the cdn test:

    `Page caching seems not working for both dynamic and static pages.

    Error on dynamic page (https://www.keyboardikbc.com): Cache status: BYPASS – Cloudflare has been instructed to not cache this asset. It has been served directly from the origin.

    Error on static resource (https://www.keyboardikbc.com/wp-content/plugins/wp-cloudflare-page-cache/assets/testcache.html): Unable to find the Cache-Control response header.

    Please check if the page caching is working by yourself by surfing the website in incognito mode ’cause sometimes Cloudflare bypass the cache for cURL requests. Reload a page two or three times. If you see the response header cf-cache-status: HIT, the page caching is working well.`

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @kloallan,
    I have found the issue on your website. While checking the response header of your website I saw that on every page of your website a cookie named PHPSESSID is being set.

    Screenshots:

    View post on imgur.com

    Once you get rid of the plugin/system that is adding that PHPSESSID cookie into your pages, the plugin will start working. The thing is when Cloudflare sees custom cookies in a page header it doesn’t cache that page thinking that the cookie value might be used inside the page to show the content dynamically using POHP or something.

    But when a page is served via cache, no dynamic content generation happens and no PHP runs. That’s why when CF system sees custom cookies in the reasons header it BYPASS the page cache so that the page gets served by the origin server.

    Thread Starter kloallan

    (@kloallan)

    so how to solve this issue? or I could not use agilecrm anymore?

    Plugin Contributor iSaumya

    (@isaumya)

    Find out the plugin or code adding the PHPSESSID cookie as mentioned above and remove that. Otherwise, you can also enable the stripe response cookie option inside the plugin. But it is not something that I would recommend as it will stripe all cookies. So, if you have any other plugin that uses other cookies when needed, even that will not show up.

    So, if you enable that option, test your site thoroughly in every possible situation – to make sure it is working as expected.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘compatible with agilecrm woocommerce plugin’ is closed to new replies.