Feed Cache Goes Live
After several days of testing, the feed Cache has now gone live on one page. Requesting the Walk Collections Page is now very fast as this is required to query all the posts in the feed. The old code took time to request all the feed uris, whereas the new code just requests the cached feed file from the GitHub CDN.
There is also a new page that was used for testing that pulls back a Random Selection of Walks.
Other pages may benefit this, but certainly where the labels have limited results this generally works fairly efficiently using the feed itself.
The only issue found during the test period was where the CDN seemed to either go down or lose the data. This seemed to resolve itself so it is not certain what caused this. It was a one-off issue. In such cases the code falls back to the request the live feed.
0 comments:
Post a Comment