In every explanation and example of using SqlDependency="CommandNotification" I see that VaryByParam is set to "none". Is there a reason that it has to be set to "none" or can I do this:As I have different content depending on the pageID.Code:<%@ OutputCache Duration="999999" SqlDependency="CommandNotification" VaryByParam="pageID" %>
Also, does CommandNotification only cache the items selected from the database or am I caching the output of the entire page?






Bookmarks