UploadModule.GetCacheBustedPath Method
Returns an URL that will ensure the browser retrieves the most recent version file at the specified path, by adding a '?guid=...' to the URL.
Parameters
-
path
- the virtual path of the file. If it starts with '/', it is assumed to be app-relative. If it doesn't, it is assumed to be relative to the path of the current request.
Return Value
A site-relative URL that ensures that the browser will retrieve the most recent version of the file.
Remarks
Based on code posted by Mike Lim in a feature request.
See Also
UploadModule Class | Brettle.Web.NeatUpload Namespace