Custom Module failing Varnish check in technical review

it_saige
it_saige used Ask the Experts™
on
I am migrating a Magento 1 module to be used on the Magento 2 platform.  All of the code has been migrated and produces the expected results but in Magento's technical review process it fails the varnish check.Capture.PNGMy initial research into the issue shows that you should specify cachable=false on your block elements or by setting the _isScopePrivate property in your defined Block PHP file.  The only problem is that I do not have any block elements.

I have created one to try and combat this issue but the module does not require any block elements.  The module works by appending the quote results to a rateResultFactory which is then displayed on the Checkout screen.

I have also tried to use the method described here to try and retrieve any dynamic data without requiring the cacheable flag.

Any help would be tremendously appreciated.

-saige-
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kyle SantosSoftware Test Analyst I at Dassault Systemes

Commented:
Hi,

I am following up on your question.  Do you still need help?

If you solved the problem on your own, would you please post the solution here in case others have the same problem?

Regards,

Kyle Santos
Customer Relations

Author

Commented:
Thanks Kyle,

I am still trying to resolve the issue.  I will definitely post a solution if one is not is not presented.

-saige-
Kyle SantosSoftware Test Analyst I at Dassault Systemes

Commented:
Would it be helpful if I sent calls out for more experts to try and help you find a resolution?

Author

Commented:
Perhaps...  I had re-tagged it so it may not have received enough exposure initially.

-saige-

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial