Stale cached plans LIST via API and CG UI itself

Dan Kamins's Avatar

Dan Kamins

07 Feb, 2018 12:08 AM

Hello -

We modified about a dozen of our Plans in succession (changing tracked item overage charges) using the CG admin UI. When we edit the Plans themselves in the UI, we see the changes. When we view an invoice, we see the new rate as well.

HOWEVER the list of plans -- both as we see via API as well as the CG UI shows (https://www.getcheddar.com/admin/plans/get) is showing the stale data from before the change. About 5-10 minutes have passed so far -- at least enough to observe it, verify it multiple times, and write this post.

This seems to be a new behavior, as in the past we have always seen the updates reflected instantly.

Any insight into this new odd behavior?

Thanks!

dk

  1. Support Staff 1 Posted by Meghan Turner on 07 Feb, 2018 12:28 AM

    Meghan Turner's Avatar

    Hi Dan,

    That's weird, we'll take a look! To give us an example to work with, is there a specific plan or item you've edited recently that's failing to show updated information in the plans list?

    Meghan

  2. 2 Posted by Dan Kamins on 07 Feb, 2018 12:35 AM

    Dan Kamins's Avatar

    One of the changes was updating a tracked item on our SPECIAL_HIBERNATE plan. As this is a public discussion, however, I don't feel comfortable providing additional details beyond that.

    It is still showing the original value in the list of plans.

  3. Support Staff 3 Posted by Meghan Turner on 07 Feb, 2018 12:43 AM

    Meghan Turner's Avatar

    That's helpful, thanks Dan. I'll let you know what we find out.

    Also, I can set this discussion to private if you'd be more comfortable with that. Just let me know what you'd prefer.

    Meghan

  4. Support Staff 4 Posted by Meghan Turner on 16 Feb, 2018 11:28 PM

    Meghan Turner's Avatar

    Hi Dan,

    Wanted to let you know that we're still working on this. The problem's proven to be a bit difficult to replicate, so we're still looking for a fix. Hoping to have some updates for you next week!

    In the meantime, you can workaround the stale cache issue by intentionally passing in a bogus URI for the plans/get request (something like admin/plans/get/?blah). Since it won't match the request URI of the cached page, it resets the cache and should allow you to view changes.

    Meghan

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac