If an error occurs when querying the npmjs registry, then soft expired results will be reused if they are presentĪ list of branch names to mark for creation or rebasing as if it was selected in the Dependency Dashboard issue.The etag from the cached results will be reused, and may result in a 304 response, meaning cached results are revalidated.Results which are soft expired are reused in the following manner: When this value is set, the npm datasource will use the cacheHardTtlMinutes value for cache expiry, instead of its default expiry of 15 minutes, which becomes the "soft" expiry value. It should be set to a non-zero value, recommended to be at least 60 (i.e. This experimental feature is used to implement the concept of a "soft" cache expiry for datasources, starting with npm. Maximum duration in minutes to keep datasource cache entries. Should you Pin your Javascript Dependencies?
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |