Search Header Logo

Magento 2 Full Page Cache

Authored by Tuyen Nguyen

Professional Development

Professional Development

Used 2+ times

Magento 2 Full Page Cache
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which attribute header of an http response represent the page was cached?

x-magento-cache-debug=true

x-magento-cache-debug=HIT

x-magento-cache-debug=MISS

x-cache-debug=HIT

x-cache-commerce-debug=HIT

2.

MULTIPLE SELECT QUESTION

30 sec • 4 pts

How can you purge varnish cache for a magento 2 site?

I will flush the magento cache with non or unconfigured bin/magento setup:config:set --http-cache-hosts=

I will flush the magento cache with ensured configured bin/magento setup:config:set --http-cache-hosts=

Varnish command `varnishadm "ban req.url ~ ."`

Varnish command `varnish flush all`

Varnish command `varnishadm flush cache`

3.

MULTIPLE SELECT QUESTION

30 sec • 3 pts

Which HTTP methods we are able to cache?

HEAD

PUT

DELETE

GET

PATCH

4.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

While you recognized a public content page lost cache, how is your 1st sign to detect the problem?

Maybe server error, I'm gonna check the varnish service

Well, code problem. I will detect, search for cacheable="false" from xml

I go for a quick check:
php bin/magento cache:status

I look for a research on the Internet

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

I set my custom data to customer session, it works on my local but I don't know why it doesn't work on staging, or production.

How can I investigate?

I think this is a cache problem

Depersonalize Session​, this was cleared due full page cache.

I think this is server problem with customer session.

I configure and extend the current customer session life time from admin.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Professional Development