When running the alias commands, the cli output seems to suggest that the version has not changed even though it actually has. What's going on is that the Fastly cache takes a while to expire so we continue to see the old version for a while. We can improve this in a couple ways.
Firstly, instead of just displaying the old, invalid version number, we want to let users know that an update has triggered but there is a cache that will take a while to expire
Secondly, we want to be able to print out the cache time remaining so they know how much longer they need to wait. This info can be gotten from the headers.
Definition of Done
Running alias commands results in messages that give useful meaning
Running alias commands informs the user how long until the cache expires
Background
When running the alias commands, the cli output seems to suggest that the version has not changed even though it actually has. What's going on is that the Fastly cache takes a while to expire so we continue to see the old version for a while. We can improve this in a couple ways.
Example:
Running this command…
Might result in something like…
When what we expect is…
Task
Firstly, instead of just displaying the old, invalid version number, we want to let users know that an update has triggered but there is a cache that will take a while to expire
Secondly, we want to be able to print out the cache time remaining so they know how much longer they need to wait. This info can be gotten from the headers.
Definition of Done