Fix: convert DataCache filter function into an object
Merge pull request #39 from lukaw3d/bugfix-datacache-filter

Convert DataCache filter function into an object