Umvelisi we-url ye-url ye-AMP kaGoogle

I- Google-AMP-Cache-URL-Generator yenza i-URL efanelekileyo kwi-AMP-Cache-Format kwi-URL yesiqhelo yalo naliphi na iphepha elingaphantsi, kuyo nayiphi na iwebhusayithi.

Yakha i-url ye-AMP efihlakeleyo


http

Nge-URL egcinwe kwi-cache, inguqulelo ye-AMP yewebhusayithi egcinwe kwi-cache ye-Google AMP inokubizwa UKUBA iphepha elihambelanayo sele likhonjisiwe nguGoogle kwaye ligcinwe kwindawo yokugcina iGoogle.


Isibhengezo

Ifomathi ye-URL ye-AMP


link

Ukuba kunokwenzeka, i-Google AMP Cache yenza isizinda kuwo onke amaphepha e-AMP akwisizinda esinye.

Okokuqala, i-domain yewebhusayithi iguqulwe ukusuka kwi- IDN (ikhowudi ye-pony) ukuya kwi- UTF-8 . Iseva yokugcina isilondolozi ithatha indawo:

  • nganye - (1 iqhagamshela) ukugqitha - (2 iqhagamshela)
  • wonke umntu . (Inqaku eli-1) ukuya ku- (1 iqhagamshela)
  • Umzekelo: amp-cloud.de uya kuba
    amp--cloud-de.cdn.ampproject.org

Indawo eguqulweyo yidilesi yokubamba ye-URL ye-AMP yeGoogle. Kwinyathelo elilandelayo, i-URL epheleleyo ye-cache idityanisiwe, kunye nezi ndawo zilandelayo zongezwa kwidilesi yokubamba:

  • Isalathi esidibanisa udidi lwefayile
    • a / c / yeefayile ze-AMPHTML
    • a / i / yemifanekiso
    • a / r / kwiifonti (iifonti)
  • Isalathi esenza ukuba kulayishwe ngeTSL (https)
    • / s / ukwenza kusebenze
  • i-URL yoqobo yewebhusayithi ngaphandle kwesikimu se-HTTP

Umzekelo we-URL kwifomathi ye-URL ye-AMP kaGoogle:


beenhere

Umzekelo we-URL yoqobo:

  • https://amp-cloud.de/amp-cache-url-generator.php?test=123&abc=hallo+welt

I-url ye-cache ye-AMP:

  • https://amp--cloud-de.cdn.ampproject.org/c/s/amp-cloud.de/amp-cache-url-generator.php?abc=hallo%2Bwelt&test=123

Yintoni i-cache ye-AMP kaGoogle?


dns

Inxalenye yokukhawulezisa iiwebhusayithi kwifomathi kaGoogle ye-AMP kubangelwa kukuzenzekelayo kugcino lweseva kukhangelo lukaGoogle . Oku kuthetha ukuba iinguqulelo ze-AMP zewebhusayithi azilayishwanga kwiseva yewebhu njengesiqhelo, kodwa ngokuthe ngqo kwiziphumo zokukhangela zikaGoogle kwenye yeeseva zikaGoogle (iGoogle AMP cache iseva) , ezihlala zihlala Yenza amaxesha ngokukhawuleza ngokukhawuleza.

Oku kuthetha ukuba isalathiso sikaGoogle kunye nokugcina inguqulelo yephepha le-AMP kwiserver yalo, phantsi kwe-URL ye-AMP efihlakeleyo yeserver eyenziweyo ngokwendlela ethile. Ngale URL, kwifomathi ye-cache ye-AMP , ungatsalela umnxeba kwaye ujonge uguqulelo lwangoku lwe-AMPHTML ngoku egcinwe kwindawo yokugcina i-AMP ye-injini yokukhangela kuGoogle. -Iinkcukacha ezithe kratya malunga ne-AMP cache kaGoogle .


Isibhengezo