A furniture merchant have 100k products in the store. In a custom product list page, he advised you to enable the caching as per user paginate the products.

A furniture merchant have 100k products in the store. In a custom product list page, he advised you to enable the caching as per user paginate the products.

So what should the approach to cache the block data as per pagination request:
A . In block class toHtml() method, define cache_lifetime, cache_tags and cache_key_<current_page_here>
B. In block class _construct() method, define cache_lifetime, cache_tags and cache_key_<current_page_here>
C. In block class toHtml() method, set _isScopePrivate property to false as per requested page number.
D. In block class _construct() method, set _isScopePrivate property to false as per requested page number.

Answer: B

Latest AD0-E704 Dumps Valid Version with 89 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments