I'm having issues getting the Output Cache Dependencies webpart to work. Here is my setup:
- Master page has 20m output cache
- All pages inherit this
- Master page contains a navigation webpart repeater
The custom data source caching works for the navigation repeater. I also placed an Output Cache Dependencies webpart on the master page with the following settings:
Use Default Cache Dependencies: True
Cache Dependencies:
nodes|mysite|NavigationItem|all
I would expect that making changes to a document type of NavigationItem would clear the output cache on the master page as the webpart is on the master page and all other pages inherit this master page but it seems I need to wait for the 20 minutes output cache to expire.
I have tried this with and without partial caching (using the same dependency keys). I also tried having no output cache on the navigation pages.
Is there something I'm missing or not understanding here?
EDIT it seems it works when I use the partial cache on the navigation webpart after all