I am trying to use client side caching in silverlight by decorating a domain service in a RIA Service like so:
[OutputCache(OutputCacheLocation.Client,3600,UseSlidingExpiration = true)]
public IQueryable<State> GetMyStates()
{
return entities.States;
}
I am also using a DomainDataSource with a filter:
<riaControls:DomainDataSource.FilterDescriptors>
<riaControls:FilterDescriptor
Operator="StartsWith"
PropertyPath="StateCode"
Value="{Binding ElementName=txtElementName, Path=Text}" />
</riaControls:DomainDataSource.FilterDescriptors>
and I am not seeing any observable caching effects it goes back to the datasource both on any filter change and on every page refresh.
Has anyone gotten client side caching for Domains Services to work?