Nws tsis yog surprise, uas cov neeg tshaj tawm thoob ntiaj teb tam sim no tab tom tshawb xyuas lawv cov nplooj ntawv tsaws mobile, raws li Google tshaj tawm qhov nthuav tawm cov nplooj ntawv nrawm nrawm AMP tsaws rau kev tshawb fawb tshaj tawm thoob ntiaj teb.
Txhua qhov kev hloov pauv hauv nplooj ntawv tsaws yuav tsum tau ua tiag tiag. Kev tso tawm ntawm Google yog lub sijhawm zoo siab rau cov tshaj tawm xov tooj ntawm tes. Tab sis nws kuj obscures tej yam. Nws tseem ceeb heev uas yuav tau nco ntsoov, uas ad qeb thiab tus nqi raug cuam tshuam los ntawm ntau yam. Yog koj ua kom cov neeg tuaj saib zoo siab, ua kom Google zoo siab.
Lub luag haujlwm ntawm AMP tsaws nplooj ntawv
peb sawv daws paub, tias Google siv peb yam tiag tiag, d. H. Qhov tseem ceeb ntawm nplooj tsaws, qhov ceev ntawm qhov chaw thiab qhov tseeb, tias Google cov neeg siv tau dhau los ua mobile. Ib tug ntse dag, kom paub qhov ceev ntawm koj mobile version ntawm lub vev xaib, yog siv Google lub cuab yeej pub dawb.
Koj tuaj yeem nkag mus rau txhua lub vev xaib nyob ntawd, thiab Google tsim ib qho yooj yim-rau-nyeem ntawv nyeem phau ntawv qhia, nyob rau hauv uas qhov qeb duas ntawm koj nplooj ntawv nyob rau hauv cov nqe lus ntawm loading lub sij hawm, tus naj npawb ntawm cov neeg siv poob vim lub sijhawm thauj khoom thiab ntau dua.
AMP hais txog “ceev cov nplooj ntawv mobile” thiab muaj 3 cov khoom tseem ceeb:
- AMP HTML
- AMP JS
- Google AMP-Cache
Tsim thiab validation ntawm AMP nplooj ntawv
Rau kev saib xyuas ntawm lub tsev AMP nplooj ntawv, ua ntej, kawm cov ntaub ntawv qhia txog AMP project. Muaj ntau tshaj li rau lub kauj ruam, uas koj yuav tsum tau khiav, hauv qab:
- Tsim ib nplooj ntawv AMP HTML
- Siv ib daim duab
- Hloov qhov kev nthuav qhia thiab nws qhov layout
- Ua tib zoo saib thiab paub meej
- Npaj koj qhov chaw rau kev tshawb nrhiav thiab kev faib tawm
- Cov kauj ruam kawg ua ntej tshaj tawm
- Koj tseem tuaj yeem siv AMP cov hauv paus ntsiab lus thiab AMP cov ntsiab lus rau kev qhia ntau dua.
- Nrhiav tus qauv code thiab demos ntawm AMP cov khoom, lossis sim AMP Start.
Lub vev xaib nrawm yeej ib txwm yog qhov tseem ceeb hauv kev yuav ua li cas Google txheeb cov nplooj ntawv web. Tib yam siv rau qhov nyiam ntawm koj qhov kev tshaj tawm Google nyob ntawm tus neeg siv tus cwj pwm tshawb nrhiav. Txawm hais tias muaj ntau txoj hauv kev, tsis muaj dab tsi los txhim kho nplooj ntawv nrawm tuaj yeem cuam tshuam cov txiaj ntsig ntawm kev hloov koj cov nplooj ntawv mobile mus rau nplooj ntawv nrawm nrawm.