Added
- New
onCacheHit
hook in theLoader
class (in addition tobeforeLoad
,onSuccess
,onError
andafterLoad
) that is called in theHttpLoader
class when a response for a request was found in the cache.
Deprecated
- Moved the
Microseconds
value object class to the crwlr/utils package, as it is a very useful and universal tool. The class in this package still exists, but just extends the class from the utils package and will be removed in v2. So, if you're using this class, please change to use the version from the utils package.