Namespace: UWA.Services.Feed.Adapter.Cache

UWA/Services/Feed. UWA.Services.Feed.Adapter.Cache

Adapter that use Cache then falback to default adapter to parse Feed.

Index

Methods

<static> load(options, fallbackAdapter)

Check if feed is in cache then fallback on another adapter if not in cache.

Parameters
Name Type Description
options Object

Options hash

fallbackAdapter String

Fallback adapter if feed is not in cache

<static> getCache() → {Object}

Get cache Storage instance.

Returns

UWA.Storage instance for cache.

Type
Object

<static> storeInCache() → {Object}

Store url data into cache Storage.

Returns
Type
Object

<static> getFromCache() → {Object}

Retrieve url data from cache Storage.

Returns
Type
Object