Yadda ake saurin Apache da Pagespeed

Na dawo, haka ne, ina cikin biki, babu abin da ya mutu ko wani abu makamancin haka hahaha. ok, bari muje zance, da gaske ban san me zan sakawa wannan post din ba ... saboda ina matukar burgeni da wannan karin wanda nake neman sunaye wadanda zasu bayyana yadda nake ji da kuma dandano mai kyau da na samu sakamako lokacin dana girka wannan add-on a sabar yanar gizo. Na yi tunani game da sanya wani abu kamar sauri da kuma fushin Apache kalubale hahahaha, amma da kyau, an riga an yi karin gishiri, kuma ba a ba ni irin wannan wariyar ba -.-

Apache

wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_amd64.deb
wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_i386.deb

Debian da Kalam

sudo dpkg -na zamani-pagespeed- *.deb sudo dace-sa -f shigar

Redhat da Kalam

sudo yum girka a  # idan baku riga kun sanya 'at' ba
sudo rpm -U na zamani-pagespeed- *.rpm

 

Da zarar an shigar, wannan shine abin da zaka sami sabo

  • Kunshin mod_pagespeed yana girka nau'ikan 2 na lambar da kanta, ɗayan shine, mod_pagespeed.so na Apache 2.2 da mod_pagespeed_ap24.so na Apache 2.4.
  • Fayil ɗin sanyi: pagespeed.conf, pagespeed_libraries.conf, da (Debian) pagespeed.load. Lura cewa idan na sanar daku, mod_pagespeed ya riga ya kawo daidaitaccen tsari (mafi kyau duka), duk da haka zaku iya canza waɗannan fayilolin sanyi zuwa abin da kuke so ko buƙata, idan kun gyaggyara su waɗannan fayilolin ba za a sabunta su kai tsaye ba a nan gaba.
  • Mai rarrabe JavaScript mai ƙyama (compressor) pagespeed_js_minify dangane da wanda aka yi amfani dashi a cikin mod_pagespeed, wanda zai iya damfara JavaScript da kuma samar da metadata don ɗakunan karatu.

Sabunta

Redhat da Kalam

sudo yum sabunta mod-pagespeed-beta # Ko kuma mod-pagespeed-barga sudo /etc/init.d/httpd sake kunnawa

Debian da Kalam

sudo apt-samun sabunta sudo apt-samun haɓaka sudo /etc/init.d/apache2 sake kunnawa

Canja tsakanin tsararru ko sigar beta

Redhat da Kalam

sudo yum cire mod-pagespeed-barga sudo yum shigar da mod-pagespeed-beta

Debian da Kalam

sudo apt-samu cire mod-pagespeed-barga sudo apt-samun shigar mod-pagespeed-beta

Tabbatarwa

Tacewar da aka yi amfani da ita don bincika, ingantawa da sake tsara duk abubuwan da ke cikin HTML waɗanda aka samar ta wata hanyar ta hanyar sabar Apache

# Direct Apache don aika duk fitowar HTML zuwa ga mai sarrafa kayan sarrafawa na mod_pagespeed.
AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER rubutu/html

Note: Ana kunna ta atomatik mod_deflate don damfara

Kashewa ko Kunna mod_pagespeed

Don kunnawa ko musaki mod_pagespeed ON, saka a saman pagespeed.conf:

ModPagespeed on

 

Akwai hanyoyi 2 don musaki mod_pagespeed. Don dakatar da sake rubuta HTML amma ci gaba da rarraba albarkatu da nazarin zaɓuɓɓukan tambaya (querys) (Ga misalai na ?ModPagespeed=on) sanya wannan zabin a cikin saitunanku.

ModPagespeed off

 

Don kashe mod_pagespeed gaba ɗaya (abubuwa kamar .pagespeed. Zai haifar da sanannen kuskuren 404s) muna amfani da layi mai zuwa:

ModPagespeed cirewa

Wani abu mai mahimmanci shine za'a iya rubuta zaɓuɓɓukan ON da KASHE a cikin shahararren .htaccsess akan lakabin <Directory>, query parametersda kuma headers. Jihar unplugged Ana iya amfani dashi ne kawai a matakin farko na daidaitawar apache da rundunonin kama-da-wane, ma'ana, inda kuka sanya rukunin yanar gizonku-wanda zai iya yuwuwa. Babu shakka kuma saboda haka babu wata shakka idan kun kunna ta ModPagespeed on a kan mai masaukin baki, za a sake rubuta manyan zaɓuɓɓukan har ma da nau'in da ba a cire ba.

Sannan da zarar an girka a cikin nginx, kuma ta hanyar da nake jiran maganganunku koyaushe!
Gracias

 

 

 


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

14 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   slevin m

    Menene daidai yake yi don saurin Apache?

  2.   Bruna m

    Godiya ga taimako, na sami sakamako mai kyau a shafin gidana.
    xnxx. Godiya ga komai.

  3.   David m

    Barka dai! Kyakkyawan bayani, na gode sosai.
    Tambaya, ta yaya kuka tsara httpd.conf? Ina da sabar yanar gizo mai aiki, amma idan ina so in saita shafi na .htaccess don shafi, ba zan iya sa uwar garken ta gane shi ba. Shin kuna da ra'ayin yadda hakan take?

    Na gode.

  4.   Mrs mary m

    Godiya ga taimako, abubuwan da ke ciki suna da wadatar gaske.

  5.   Brenda m

    Kyakkyawan bayani, na gode sosai.

  6.   Richard m

    Na gode. Ya taimaka min sosai!

  7.   Rick m

    Kyakkyawan bayani, na gode sosai

  8.   Anderson m

    Muito obrigado pela informação, yana neman ainihin isso.
    Saduwa da em: https://bucetas.blog/categoria/amadoras/

  9.   barbara m

    sosai obrigado gashi conhecimento.

  10.   Boa foda m

    Mai matukar obrigado ko conhecimento repasado ya inganta yanar gizo na da yawa.

  11.   Manoel Goncalo Mariano m

    Na gode. Ya taimaka min sosai !!!!!!!!!!!
    https://xvodeos.net/

  12.   Marcola m

    Na gode sosai da shawarwarin! Ya taimaka min sosai wajen loda shafukan yanar gizan yanar gizo da kuma na yanar gizo.

  13.   Xvideos m

    Na gode sosai, albarkacin labarinku, na kusan kaiwa 100%, godiya ma, muna ganin kanku https://xvideos-hd.com/

  14.   Dieguinho m

    Na gode sosai da ilimin, ya taimaka min sosai

    https://pornogratis.vlog.br/