returns cacheability of the passed text regarding all contained tokens
Namespace: DotNetNuke.Services.TokensAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public CacheLevel Cacheability( string sourceText ) |
| Visual Basic |
|---|
Public Function Cacheability ( sourceText As String ) As CacheLevel |
Parameters
- sourceText
- Type: System..::..String
the text to parse for tokens to replace
Return Value
cacheability level (not - safe - fully)
Remarks
always check cacheability before caching a module!