• Resolved dariobros

    (@dariobros)


    hi Guys,
    I have tested your plugin on one of the pages with restaurant menu items (Food items and Drink items are 2 custom post types created in Metabox). I then compared the caching of your plugin and Litespeed. It looks like there is a problem with cache not being actually refreshed after an updated made to the custom post type. For example: if I amend a price of alcohol, in LiteSpeed this is updated automatically and instantly. In your plugin the cache is not updated and old content is being served (until I do a manual cache refresh). I would love to use your plugin on my customer′s website as it delivers the content much faster but if the cache is not refreshed on a custom post type update then I can’t use it.

    Is there any solution to this please?

    thanks very much.
    Dariobros

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

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

    (@isaumya)

    Hi,
    The cache auto-purge only works for posts & pages. So, when you update an post that post gets purged along with its related taxonomy pages like categories pages.

    But in the case of CPT when you update a single post inside that CPT only that page will get purged but not the related taxonomy pages as CPT may or may not have taxonomies and might be created in many different ways.

    If what I described above doesn’t work for you, can you try disabling the fallback cache option inside the plugin and check again?

    Also I hope your cache-behaviour is set properly: https://i.imgur.com/52YnGeD.jpeg

    P.S.: Also, if you are using lightspeed page caching and this plugin simultaneously, don’t Try disabling lightspeed cache and let only this plugin handle all caching. Make sure you have enable/disable caching inside the plugin setting page so that the advanced-cache.php file gets properly generated.

    • This reply was modified 2 years, 8 months ago by iSaumya.
    Thread Starter dariobros

    (@dariobros)

    thanks for you reply, I have changed the settings
    to Purge whole cache. And didn’t have the fallback cache on set. It was just basic, clean default settings (and litespeed plugin has been disabled during testing).

    It all now seems to be working fine. many thanks!

    Plugin Contributor iSaumya

    (@isaumya)

    Thanks for confi4rming that. I’ve resolving this thread now.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘caching of custom post types – is it actually working’ is closed to new replies.