Velocity Reviews

Velocity Reviews (
-   ASP .Net Web Services (
-   -   Caching of Java script proxy for WCF service (

Alexander Tarasul 03-10-2009 10:42 PM

Caching of Java script proxy for WCF service
Environment VS 2008, .NET 3.5, Windows 2003 Server
I'm calling WCF Service decorated with
<OperationContract()> _
<WebGet(RequestFormat:=WebMessageFormat.Xml)> _
from web page script manager.

<asp:ScriptManager ID="SM" runat="server" >
<asp:ServiceReference Path="~/Service.svc" />

The Service proxy file
is generated with caching header of expire immediately
HTTP/1.0 Expires Header is present: Tue, 10 Mar 2009 22:17:49 GMT

The web.config have debug=false

I don't want to embed the script into my page, I want it in separate cached
JS file with one year expiration same as scriptresource.axd JS files or
better with configurable cache expiration.
Is there any way to control cache expiration of


All times are GMT. The time now is 06:10 AM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.