AKSW / Erfurt

PHP5 / Zend based Semantic Web API for Social Semantic Software
41 stars 27 forks source link

Fix/invalidation of resource cache #126

Open white-gecko opened 8 years ago

white-gecko commented 8 years ago

Now the cache entries for resource descriptions are tagged with the resource and model IRIs. Further the two methods are moved to the QueryCache class, so they can be properly invalidated if the regarding invalidation methods are call on the QueryCache object.

pfrischmuth commented 8 years ago

Please rework the test to be part of Erfurt_StoreTest, e.g. by creating a markTestNeedsCache method or something.

Also if it needs an external dependency like a cache backend, pleas consider a integration test instead of a unit test.