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:

Rossana
6 days ago
Option C is interesting, but I'm not sure if setting _isScopePrivate is the proper way to cache the data per page.
upvoted 0 times
...
Terrilyn
13 days ago
I'm leaning towards Option B, as the _construct() method is the right place to set the cache parameters.
upvoted 0 times
A) In block class toHtml() method, define cache_lifetime, cache_tags and cache_key_
upvoted 0 times
...
...
Brunilda
17 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
20 days ago
But wouldn't setting _isScopePrivate property to false in toHtml() method also work? That's option C)
upvoted 0 times
...
Justine
22 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
28 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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77