2

我正在建立一个 Orchard CMS 站点,并注意到它非常慢。它运行在托管其他几个基于 MVC 的网站的 VPS 上,这些网站都运行良好,因此服务器似乎不是问题。

我读过将Sample.Host.Config文件重命名为Host.Config应该可以解决问题。它似乎持续了几个小时,直到我随机收到以下错误并且该站点不再工作。

The type 'Orchard.Environment.Configuration.AzureBlobTenantManager' could not be found. It may require assembly qualification, e.g. "MyType, MyAssembly".

我试过安装没有任何区别的缓存模块。

有没有其他人在使用 Orchard CMS 时遇到过缓慢的情况?这是一个全新的安装,没有额外的模块,也没有内容……我很难过!

任何帮助深表感谢

4

3 回答 3

2

Here are a few things you can try:

  • As you did, renaming the config file. You need to make sure you are running a prebuilt version.
  • Installing the Cache module, as you did. This is going to be bundled into Core, it is essential.
  • Installing the SysCache module to cache database calls
  • Install the Warmup Module which saves static versions of your pages to serve to the user
  • Turn off debug flag in Web.config (just in case... ^_^)
  • Use SQL Server for the speeeeeed
  • Make sure you have selected the same region for database etc.

To the specific error you are receiving, I also had that error a while back but this was due to my package not being fully built. So why yours would run for a while then break is a mystery... Did you maybe install some modules or something?

于 2013-04-26T16:07:47.970 回答
1

在模块的“性能”部分启用 SysCache 模块

于 2013-05-10T09:07:08.257 回答
0

我还将禁用动态模块加载器,在页面中间说明:http: //docs.orchardproject.net/Documentation/Orchard-module-loader-and-dynamic-compilation

于 2013-05-02T03:24:15.950 回答