ASP.Net: Is it possible to cache the js-proxies generated by scriptmanager?

Posted by AndreasKnudsen on Stack Overflow See other posts from Stack Overflow or by AndreasKnudsen
Published on 2008-12-19T08:40:29Z Indexed on 2011/11/23 1:51 UTC
Read the original article Hit count: 246

Filed under:
|
|
|

We have the following code:

    <asp:ScriptManager runat="server">
       ...

    <Services>
        <asp:ServiceReference Path="~/JSONServices/ProfileService.svc" />
    </Services>
        ...

This results in a Javascript proxy found in /JSONServices/ProfileService.svc/js. This Javascript has content expiry set to the same time it was called (so it is never cached on the client). Is it possible to have the clients cache these proxies for some time?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about wcf