Exemple #1
0
 /// <summary>
 /// Always forces the image to be cached even if it wasn't modified by the resizing module.
 /// No disables caching even if it was.
 /// </summary>
 public static ImageUrlBuilder Cache(this ImageUrlBuilder builder, CacheOptions cacheOption = CacheOptions.Default)
 {
     return(builder.SetParameter(MiscCommands.Cache, cacheOption.ToString().ToLowerInvariant()));
 }
 /// <summary>
 /// Always forces the image to be cached even if it wasn't modified by the resizing module. 
 /// No disables caching even if it was.
 /// </summary>
 public static ImageUrlBuilder Cache(this ImageUrlBuilder builder, CacheOptions cacheOption = CacheOptions.Default)
 {
     return builder.SetParameter(MiscCommands.Cache, cacheOption.ToString().ToLowerInvariant());
 }