implement mashup equality test
refactor caching resource internalizers

Use the decorator pattern to realize caching.