Reduce Pages internal API cache duration
Problem to solve
Based on: &7920 (comment 1118910145)
One of the data returned in the cached payload is an URL that contains an expiration date of 24h
.
Since the cache has a default timeout of 24h
, it's possible to serve an expired URL in the cached payload
Proposed solution
To avoid serving an expired URL, with the cached data, we should reduce the cache expiration data to be lower than the 24h
. To avoid any risks, it was proposed to reduce it initially to 12h
and adjust when we have more data about the cache behavior.
Edited by Kassio Borges