Service orientation encourages the use of stored procedures, which reduce data transfer, and also the use of various optimizations (such as view caching, indexing, and so on).
面向服务提倡使用存储过程(存储过程可以减少数据传输)和使用各种优化(例如视图缓存、索引等等)。
You can test this out by specifying that the products controller uses caching for the view action.
您可以通过指定产品控制器对view操作使用缓存来测试这段代码。
In this case, caching the index view might prove to be more of a hindrance than a help.
在这种情况下,缓存索引视图可能会弊大于利。
From the portlet programming point of view, portlets can configure caching as specified by the portlet Specification (PLT.18.1).
从Portlet编程的角度来看,Portlet可以按照Portlet规范(PLT . 18.1)中指定的方式配置缓存。
Without caching, your application must request the data from the database each time a user wants to view a product.
在不使用快取的情况下,每次使用者想要检视产品时,您的应用程序都必须要求资料库提供资料。
Without caching, your application must request the data from the database each time a user wants to view a product.
在不使用快取的情况下,每次使用者想要检视产品时,您的应用程序都必须要求资料库提供资料。
应用推荐