As discussed in this thread: https://groups.google.com/forum/?hl=en#!topic/ddf-users/Za0-yvfduR4
First, I created a product and a metacard using the Content Directory Monitor, as described in the Quick Start documentation (https://tools.codice.org/wiki/display/DDF/Quick+Start#QuickStart-UseoftheContentFramework):
I dropped the file in the "inbox" folder causing the product to be created in the "content/store/<Product_GUID>" folder of DDF.
I performed a search and found the new metacard. I clicked on the resource link.
The JSON file is displayed in the browser, and a cache entry is added in the "data/Product_Cache" directory.
Then, I tried to update the product and get the cache invalidated:
I modified the stored product (directly in Notepad++).
I modified a copy of the JSON file that was used to initially create the product. I modified its title, and I updated its resource-uri to point to the store (content:<Product_GUID>).
I used this modified JSON file to update the metacard using cURL (curl.exe -H "Content-type: id=application/json;id=geojson" -i -X PUT -d @"D:\DDF\geojson_valid_updated.json" http://localhost:8181/services/catalog/<Metacard_GUID>).
I performed a search again. I see that the Metacard is properly updated with the new title.
I click on the resource link. The out-of-date, cached version of the product is displayed.