Skip to content

Invalidating tags in microservices and microfrontend architecture #4838

Answered by phryneas
andreev-artem asked this question in Q&A
Discussion options

You must be logged in to vote

Fot the frontend it's the same dataset. The twitter api and a cookbook api are two different apis.

Twitter's "posts" api and twitter's "users" api are the same api from the perspective of any outside system (and a frontend is very much the definition of "outside"), as a user has posts, and posts can be liked by users. There's a relationship between the types. It doesn't matter if it's split up into microservices, that's an implementation detail.

three microservices have three urls.

Then you'll have to prefix your api endpoints with absolute urls and not work relative to one baseUrl.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@andreev-artem
Comment options

@phryneas
Comment options

Answer selected by andreev-artem
@andreev-artem
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants