4 ms·
Thanks, was thinking about doing a new endpoint for changes too but wanted to see if this topic of data versioning pertains to this or not
by hbcondo714 10y ago
Thanks, was thinking about doing a new endpoint for changes too but wanted to see if this topic of data versioning pertains to this or not
- webmaven 10y agoIt does, but I think what you're really after here is a mechanism for cache invalidation. Check out PostgreSQL's LISTEN and NOTIFY: https://www.postgresql.org/docs/9.6/static/sql-listen.html https://www.postgresql.org/docs/9.6/static/sql-listen.html https://www.postgresql.org/docs/9.6/static/sql-notify.html https://www.postgresql.org/docs/9.6/static/sql-notify.html A related HN discussion a few years ago: https://news.ycombinator.com/item?id=6689213 https://news.ycombinator.com/item?id=6689213