Share via


SPUtility.MakeBrowserCacheSafeLayoutsUrl method

Overload list

  Name Description
Public methodStatic member MakeBrowserCacheSafeLayoutsUrl(String, Boolean) Returns a new URL that will not be cached by the browser when the associated file changes. The file name must be relative to the layouts directory in the file system. For example, if an URL contains "layouts/images" it is relative to the layouts directory but the images directory is not under the layouts directory in the file system and therefore it cannot be used with this method.
Public methodStatic member MakeBrowserCacheSafeLayoutsUrl(String, Boolean, Int32)

Top

See also

Reference

SPUtility class

SPUtility members

Microsoft.SharePoint.Utilities namespace