Is it possible to cache function output only when null is passed as a parameter? Something like this:
[WebMethod(CacheDuration = 360, NullOnly = true)]
public SomeClass MyMethod(MyClass whatever)
{
//do something...
return something;
}
So when whatever == null the function return cached output, and when it's not null it generates output without caching it.