SPUtility.MakeBrowserCacheSafeScriptResourceUrl method
SharePoint 2013
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.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Parameters
- resxName
- Type: System.String
The name of the .resx file relative to the resources directory.
Return value
Type: System.StringA 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.