• Resolved Vishal Lohar

    (@vlohar08)


    Hi,

    I am using your plugin with Cloudflare Pro. I have enabled cache by device type using the new Cache rules and it’s working really well.

    The problem is when I purge a specific page using your plugin the desktop shows the latest content but the mobile version still shows the old content.

    To fix this I have to go to my Cloudflare dashboard and custom purge that page.

    Can you explain why it is happening?

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @vlohar08,
    When you enable cache by device type you cannot purge specific page from the plugin as for each page URL, Cloudflare will create multiple cacheKeys based on different device type. So, anytime you make any changes, you need to purge the whole cloudflare cache. That’s the only way.

    This is what you need to do: https://i.imgur.com/5lMiNLD.jpeg

Viewing 1 replies (of 1 total)
  • The topic ‘Purge cache with Cache by device type is not working’ is closed to new replies.