Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Adobe Exam AD0-E704 Topic 2 Question 43 Discussion

Actual exam question for Adobe's AD0-E704 exam
Question #: 43
Topic #: 2
[All AD0-E704 Questions]

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:

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Terrilyn
2 days ago
I'm leaning towards Option B, as the _construct() method is the right place to set the cache parameters.
upvoted 0 times
...
Brunilda
6 days ago
Option A seems like the right approach, as the documentation suggests caching the block data based on the current page.
upvoted 0 times
...
Louvenia
9 days ago
But wouldn't setting _isScopePrivate property to false in toHtml() method also work? That's option C)
upvoted 0 times
...
Justine
11 days ago
I disagree, I believe the correct approach is B) In block class _construct() method, define cache_lifetime, cache_tags and cache_key_
upvoted 0 times
...
Louvenia
17 days ago
I think the approach should be A) In block class toHtml() method, define cache_lifetime, cache_tags and cache_key_
upvoted 0 times
...

Save Cancel