Alachisoft nCache的配置问题 [英] Alachisoft Ncache configuration issues

查看:528
本文介绍了Alachisoft nCache的配置问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是新来的nCache从Alachisoft。
我真的试图修复视图状态非常大的变数的内容问题。
我已经安装了,我的服务器上配置了nCache企业版4.4.0(64位)。

I'm new to NCache from Alachisoft. I`m trying to fix the Viewstate very large variable content issue. I have installed and configured NCache Enterprise Edition 4.4.0 (x64) on my server.

要的web.config和app.browser的变化做了按照指示:

Changes to web.config and app.browser were done as per instructions:

http://www.alachisoft.com/resources/articles/asp-net-performance-view-state-caching.html

and

http://www.alachisoft.com/ncache/demos/demo-ncache-five-steps-getting-started.html

我已经成功地创建并与压力测试工具本地缓存,一次一个集群的缓存被称为myCache一测试,但检查的视图状态变量时没有预期的结果。

I have successfully created and tested with the "stress test tool" a Local Cache and a clustered Cache called "myCache", one at a time, but without the intended results when checking the Viewstate variable.

我从客户机连接,在那里我已经安装并配置了nCache服务器机器。
我可以看到myCache统计的数字变化,但ViewState的变量的内容仍然是美元的网页源$ C ​​$中c p $ psent,是非常大的。

I am connecting from a client machine, to the server machine where I have installed and configured NCache. I can see the "myCache" statistics numbers change, but the ViewState variable content is still present on the webpages source code and is very big.

预期结果:


  • 的ViewState变量的内容应减少到令牌。

在服务器环境:


  • 操作系统Windows Server 2008 R2的标准

  • nCache的企业版4.4.0(64)

  • IIS 7

我应该检查些什么,因为我相信我按照这一切建议的步骤工作?

What else should I check because I believe I have followed all recommended steps for this to work?

感谢您提前

推荐答案

文章中,你跟着似乎有点老了。一个标志 enableMinification &LT丢失; ncContentOptimization> 配置部分。请使用以下代替:

Article you followed seems a bit old. A flag enableMinification is missing from <ncContentOptimization> configuration section. Use the following instead:

  <ncContentOptimization>
    <settings viewstateThreshold="12"
              enableViewstateCaching="true"
              enableTrace="false"
              enableMinification="true"
              groupedViewStateWithSessions="false"
              maxViewStatesPerSession="3" >
      <cacheSettings cacheName="myCache">
        <expiration type="Absolute"
                    duration="1" />
      </cacheSettings>
    </settings>
  </ncContentOptimization>

请在cacheSetting属性(在上述情况下'myCache)规定确定cacheName运行和应用服务器进行访问。默认情况下myCache'是nCache的安装创建一个本地缓存中。

Make sure cacheName specified in cacheSetting attribute ('myCache' in above case) is running and accessible from application server. By default 'myCache' is a local cache created with NCache installation.

如果NCACHE Server安装在单独的计算机上和远程客户端安装应用程序服务器上(如引导下的nCache入门视频),确保高速缓存运行,远程客户端添加与高速缓存客户端节点;使用nCache的经理。此外,在这种情况下,高速缓存必须是一个集群的缓存,并建议有名字比myCache'(因为远程客户端中有一个名为自己的本地缓存myCache')不同。在指定该高速缓存的名称&LT; ncContentOptimization方式&gt; 部分

If NCache Server is installed on a separate machine and remote client is installed on application server(as guided in NCache getting started video), make sure cache is running and remote client is added as client node with cache; using NCache Manager. Also in such case cache must be a clustered cache and recommended to have name different than 'myCache' (since remote client has its own local cache named 'myCache'). Specify this cache's name in <ncContentOptimization> section.

我希望这有助于。

这篇关于Alachisoft nCache的配置问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆