Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.MakeBrowserCacheSafeScriptResourceUrl method

Generates a new URL that is safe for the browser to use to cache the resource content. If the resource content was changed on the server, the URL that this method retrieves is changed to ensure that the stale browser cache is not used.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
public static string MakeBrowserCacheSafeScriptResourceUrl(
	string resxName
)

Parameters

resxName
Type: System.String

The name of the .resx file relative to the resources directory.

Return value

Type: System.String
A string that contains the URL location of the /_layouts/ScriptResx.ashx file. This file retrieves resources that are localized in the CurrentUICulture and LanguageCulture files associated with the SharePoint Web site.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.