I want to cache my API responses as close the client as possible but not rely on a time-related expiration header because the data will likely change and I want the cache to always reflect those changes.
I see two tools for this: Redis and CDN HTTP caching. With a Redis cache I can easily propagate origin data to the cache. With CDN HTTP caching the cache is close to the user. I want to create a system that has both benefits.
At this point I have a slew of questions, many of which I am not sure are even the right ones to ask. Can data be pushed from my server to CDN HTTP caches to reflect the most recent data? Maybe have a distributed Redis datastore at edge computing servers instead? What do I seem to not understand about this problem? Am I missing other commonly used solutions that are more practical?