• Resolved nevatonight

    (@nevatonight)


    Hello,
    I use WP Rocket caching plugin. The developer declares that it is by default compatible with Woocommerce and prevents caching of some pages (cart or orders, for example).
    But some Dokan pages are also dynamic.
    Please tell me what values of non-cacheable URLs, Cookies and User-agents I should specify.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Yeasin Arafat

    (@yeasinarafathridoy)

    Hi nevatonight,

    To ensure proper caching with WP Rocket while using Dokan, you’ll need to specify the non-cacheable URLs, related to Dokan. Here’s how you can configure it:

    Non-cacheable URLs: You should specify the URLs that belong to Dokan, such as:

    • yourdomain.com/dashboard
    • yourdomain.com/my-orders
      These URLs are dynamic and should not be cached to ensure correct functionality.

    By configuring these settings, you ensure that Dokan’s dynamic pages like the dashboard and order pages function correctly without interference from caching mechanisms.

    All the best,

    Daniel

    (@kngqe)

    I’m using LiteSpeed Cache, this works flawlessly for me.

    In Cache > Excludes > Do Not Cache URIs

    Simply add: /dashboard/

    Now, the entire Dokan dashboard isn’t cached anymore ??

    • This reply was modified 5 months ago by Daniel.
    Plugin Support Yeasin Arafat

    (@yeasinarafathridoy)

    Hi nevatonight,

    As we haven’t heard back from you for a while, we’ll consider this topic resolved. If you encounter any further issues, please don’t hesitate to open a new topic.

    Thanks!

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