public static string GenerateCachePath(string pagename)
{
SHA1CryptoServiceProvider sha1 = new SHA1CryptoServiceProvider();
string titleHash = BitConverter.ToString(sha1.ComputeHash(UnicodeEncoding.Unicode.GetBytes(pagename))).Replace("-", "");
return titleHash.Substring(0, 2) + "\\" + titleHash.Substring(2);
}