So what should the ...
 
Notifications
Clear all

So what should the approach to cache the block data as per pagination request:

1 Posts
1 Users
0 Likes
94 Views
(@palomamikel)
Posts: 733
Noble Member
Topic starter
 

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.

Show Answer Hide Answer

Suggested Answer: B
 
Posted : 13/01/2023 10:22 pm
Topic Tags

Latest Adobe AD0-E704 Dumps Valid Version

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