propertycompass / issues

Public repository for tracking issues relating to the Property Compass platform
http://app.propertycompass.com.au
0 stars 0 forks source link

Publishing Destinations - stale cache after activating new destination #128

Open galenp opened 7 years ago

galenp commented 7 years ago

Process

Activate a publishing destination by adding your account Id

Issue

After adding the account Id the publishing destinations list doesn't show an update.

Work Around

Ctrl-Refreshing the page seems to resolve the issue.

Cause

A combination of one or two of the following is likely causing this;

  1. The results of the getPublishingDestinations API call is cached in the browser for 60 seconds to reduce the number of server requests.

  2. Property Compass is designed to be eventually consistent. Processed actions to strage are finalised independently of the processing that updates the read model used for the front end. A user navigating quickly back to a page with a publishing list before the read model is updated would get stale results in their perspective.

Solutions

galenp commented 7 years ago