List of questions
Related questions
Question 80 - Certified B2C Commerce Developer discussion
The following code performs poorly in the storefront.
Considering best practices, what is the main problem with this code?
A.
The code performs post-query processing in an inefficient manner. The nested for-loops should be changed to more efficient code.
B.
The code uses ProductSearchModel, which performs a database search.
C.
The code invokes dw.catalog.ProductSearchModel directly. It is more efficient to use the following code and then invoke the method. var ProductSearchModel = require (dw.catalog.ProductSearchModel);
D.
The code performs post-query processing, which is inefficient and should be avoided
Your answer:
0 comments
Sorted by
Leave a comment first