sounisi5011 / metalsmith-netlify-published-date

Get published date and modified date of the each page published by Netlify
MIT License
0 stars 0 forks source link

API cache #125

Open sounisi5011 opened 4 years ago

sounisi5011 commented 4 years ago

In the current code, the response of the Netlify API is not cached in order to get the latest data. However, fetching data about every deploy has the following problems:

To solve the above problem, we propose to cache the API response. Data from older deploys will probably not change. Therefore, it should be possible to cache.

sounisi5011 commented 4 years ago

I propose JSON Lines as a cache file format. JSON Lines has the following features: