• Resolved ofmarconi

    (@ofmarconi)


    I am encountering an issue related to managing Custom Post Types (CPTs) in WordPress using the JetEngine plugin. JetEngine features a specific form to configure CPTs, which is automatically populated through a Fetch request to the following URL: /wp-json/jet-engine/v2/get-post-type/2?_locale=user.

    The problem arises when REST API caching is enabled. In this scenario, the Fetch response is cached, leading to inconsistencies if there are changes in the form values and the page is subsequently refreshed. After refreshing, the displayed values revert to those before the modifications, not reflecting the current data state.

    I am looking for a solution to prevent the caching of these JSON responses in the JetEngine dashboard to ensure that the information displayed is always up to date with the latest user modifications. How can I resolve this caching issue within the context of JetEngine and WordPress?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    have you tried disable REST API cache or add this URI into Do not cache URI ?

    Thread Starter ofmarconi

    (@ofmarconi)

    I tried:

    /wp-json/jet-engine/ & /jet-engine/ and it didn’t work.

    What worked was in exclusions exclude Administrators from the cache.
    It could even be the default value of the plugin, right? Delete Administrators from the cache.

    • This reply was modified 10 months, 2 weeks ago by ofmarconi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Issue with REST API Cache Inconsistencies Using JetEngine in WordPress’ is closed to new replies.