Magento 2.2: AMP page is not working after installing varnish Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar Manaravarnish + magento 1.9 + login form in headerInitial Form Key not Matching with Varnish/Turpentine in FirefoxMagento with Turpentine + Varnish + NginxWhy is full page not cached in Magento2 even if FPC is enabled?Varnish - NGINX serving all resources HTTP instead of HTTPS (Magento 2)Varnish Intermittent 503 on larger filesMagento 2 Varnish caching per instancewhenever loading url and reloading getting white blank page and it loading 2 -3 secs it's comingVarnish Cache pages being Invalidated too soon Magento 2Delete button on Mini cart popup not working and turning screen black on home page magento 2.2
Could moose/elk survive in the Amazon forest?
Why did C use the -> operator instead of reusing the . operator?
c++ diamond problem - How to call base method only once
Would reducing the reference voltage of an ADC have any effect on accuracy?
How long after the last departure shall the airport stay open for an emergency return?
"Whatever a Russian does, they end up making the Kalashnikov gun"? Are there any similar proverbs in English?
How to keep bees out of canned beverages?
Additive group of local rings
How to open locks without disable device?
Does Feeblemind produce an ongoing magical effect that can be dispelled?
What *exactly* is electrical current, voltage, and resistance?
Is Bran literally the world's memory?
Why is an operator the quantum mechanical analogue of an observable?
PIC mathematical operations weird problem
What was Apollo 13's "Little Jolt" after MECO?
Second order approximation of the loss function (Deep learning book, 7.33)
Retract an already submitted recommendation letter (written for an undergrad student)
Error: Syntax error. Missing ')' for CASE Statement
Justification for leaving new position after a short time
My admission is revoked after accepting the admission offer
Will I lose my paid in full property
A strange hotel
Align column where each cell has two decimals with siunitx
Expansion//Explosion and Siren Stormtamer
Magento 2.2: AMP page is not working after installing varnish
Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar Manaravarnish + magento 1.9 + login form in headerInitial Form Key not Matching with Varnish/Turpentine in FirefoxMagento with Turpentine + Varnish + NginxWhy is full page not cached in Magento2 even if FPC is enabled?Varnish - NGINX serving all resources HTTP instead of HTTPS (Magento 2)Varnish Intermittent 503 on larger filesMagento 2 Varnish caching per instancewhenever loading url and reloading getting white blank page and it loading 2 -3 secs it's comingVarnish Cache pages being Invalidated too soon Magento 2Delete button on Mini cart popup not working and turning screen black on home page magento 2.2
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I've installed 3rd party extension for AMP and it was working fine before installing varnish. After varnish, I am getting normal page and it starts fetching amp pages after opening 2-3 pages.
Has anyone any idea why this is happening?
magento2.2 varnish
add a comment |
I've installed 3rd party extension for AMP and it was working fine before installing varnish. After varnish, I am getting normal page and it starts fetching amp pages after opening 2-3 pages.
Has anyone any idea why this is happening?
magento2.2 varnish
I think your problem is happening because of varnish store cache for some amp pages as a normal page, it happened because the first visiting your page was no amp page. But this is just a guess. Can you explain in details your problem, better give me a URL to your site where I can reproduce the problem.
– Petro Chaikivskyi
Apr 20 at 18:14
After opening 2-3 pages, it will have ?amp=1 at the end of URL and it means it's an AMP @PetroChaikivskyi
– Bhakti Thakkar
2 days ago
As I can see, you have amp home page, category page, and cms pages. On every page, I saw no less than tree validation errors. I can't explain your problem as can't see implementation your amp extension and varnish configuration, sorry
– Petro Chaikivskyi
2 days ago
add a comment |
I've installed 3rd party extension for AMP and it was working fine before installing varnish. After varnish, I am getting normal page and it starts fetching amp pages after opening 2-3 pages.
Has anyone any idea why this is happening?
magento2.2 varnish
I've installed 3rd party extension for AMP and it was working fine before installing varnish. After varnish, I am getting normal page and it starts fetching amp pages after opening 2-3 pages.
Has anyone any idea why this is happening?
magento2.2 varnish
magento2.2 varnish
asked Apr 20 at 6:50
Bhakti ThakkarBhakti Thakkar
638114
638114
I think your problem is happening because of varnish store cache for some amp pages as a normal page, it happened because the first visiting your page was no amp page. But this is just a guess. Can you explain in details your problem, better give me a URL to your site where I can reproduce the problem.
– Petro Chaikivskyi
Apr 20 at 18:14
After opening 2-3 pages, it will have ?amp=1 at the end of URL and it means it's an AMP @PetroChaikivskyi
– Bhakti Thakkar
2 days ago
As I can see, you have amp home page, category page, and cms pages. On every page, I saw no less than tree validation errors. I can't explain your problem as can't see implementation your amp extension and varnish configuration, sorry
– Petro Chaikivskyi
2 days ago
add a comment |
I think your problem is happening because of varnish store cache for some amp pages as a normal page, it happened because the first visiting your page was no amp page. But this is just a guess. Can you explain in details your problem, better give me a URL to your site where I can reproduce the problem.
– Petro Chaikivskyi
Apr 20 at 18:14
After opening 2-3 pages, it will have ?amp=1 at the end of URL and it means it's an AMP @PetroChaikivskyi
– Bhakti Thakkar
2 days ago
As I can see, you have amp home page, category page, and cms pages. On every page, I saw no less than tree validation errors. I can't explain your problem as can't see implementation your amp extension and varnish configuration, sorry
– Petro Chaikivskyi
2 days ago
I think your problem is happening because of varnish store cache for some amp pages as a normal page, it happened because the first visiting your page was no amp page. But this is just a guess. Can you explain in details your problem, better give me a URL to your site where I can reproduce the problem.
– Petro Chaikivskyi
Apr 20 at 18:14
I think your problem is happening because of varnish store cache for some amp pages as a normal page, it happened because the first visiting your page was no amp page. But this is just a guess. Can you explain in details your problem, better give me a URL to your site where I can reproduce the problem.
– Petro Chaikivskyi
Apr 20 at 18:14
After opening 2-3 pages, it will have ?amp=1 at the end of URL and it means it's an AMP @PetroChaikivskyi
– Bhakti Thakkar
2 days ago
After opening 2-3 pages, it will have ?amp=1 at the end of URL and it means it's an AMP @PetroChaikivskyi
– Bhakti Thakkar
2 days ago
As I can see, you have amp home page, category page, and cms pages. On every page, I saw no less than tree validation errors. I can't explain your problem as can't see implementation your amp extension and varnish configuration, sorry
– Petro Chaikivskyi
2 days ago
As I can see, you have amp home page, category page, and cms pages. On every page, I saw no less than tree validation errors. I can't explain your problem as can't see implementation your amp extension and varnish configuration, sorry
– Petro Chaikivskyi
2 days ago
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270833%2fmagento-2-2-amp-page-is-not-working-after-installing-varnish%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270833%2fmagento-2-2-amp-page-is-not-working-after-installing-varnish%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I think your problem is happening because of varnish store cache for some amp pages as a normal page, it happened because the first visiting your page was no amp page. But this is just a guess. Can you explain in details your problem, better give me a URL to your site where I can reproduce the problem.
– Petro Chaikivskyi
Apr 20 at 18:14
After opening 2-3 pages, it will have ?amp=1 at the end of URL and it means it's an AMP @PetroChaikivskyi
– Bhakti Thakkar
2 days ago
As I can see, you have amp home page, category page, and cms pages. On every page, I saw no less than tree validation errors. I can't explain your problem as can't see implementation your amp extension and varnish configuration, sorry
– Petro Chaikivskyi
2 days ago