Method register
Registers an Etag in the LRU cache
Parameters:
url must be a String.(URL requested)
state must be an Object.(Object describing state {etag: $etag, mimetype: $mimetype})
{etag: $etag, mimetype: $mimetype}
stale must be a Boolean.([Optional] Remove cache from disk)
Returns an Object(TurtleIO instance)
Removing stale cache from disk
Updating LRU
Method register
Registers an Etag in the LRU cache
Parameters:
url must be a String.
(URL requested)
state must be an Object.
(Object describing state
{etag: $etag, mimetype: $mimetype}
)stale must be a Boolean.
([Optional] Remove cache from disk)
Returns an Object
(TurtleIO instance)