onsmagento
magento 时间:2021-04-12 阅读:(
)
M-Turbo:MagentoE-CommerceAcceleratorDocumentationMichalUnzeitigJiíChmielM-Turbo:MagentoE-CommerceAcceleratorDocumentationMichalUnzeitigJiíChmielPublicationdate21.
6.
2010AbstractUserdocumentationforARTIOM-Turbo:MagentoE-CommerceAcceleratormodule.
Installationandusagein-structions.
iiiTableofContents1.
Introduction11.
1.
WhatisM-Turbo11.
2.
M-TurboEditions12.
InstallingM-Turbo22.
1.
Prerequisites22.
2.
InstallingM-TurboFreeEdition22.
3.
UpgradingtoPaidEditionofM-Turbo23.
CacheUsageandManaging33.
1.
OptionsTab33.
2.
URLsTab43.
3.
RegistrationTab53.
4.
PageSelectionTabs54.
FAQsandTroubleshooting64.
1.
Q:Thepageappearstobecached,butwhenatteptingtoaccessit,thebrowserre-ports"Accessforbidden"error64.
2.
Q:Thedailynightcachebuildingdoesnotwork64.
3.
Q:HowcanIidentifyifthepageiscachedandwhenwasitrecachedlasttime64.
4.
Q:Thetimeoflastcachingdoesnotmatchtherealtime61Chapter1.
Introduction1.
1.
WhatisM-TurboM-TurboisanewuniqueaccelerationmoduleforMagentoE-Commercesystem,thataimtoimprovetheMagento'sbiggestpaid-speed.
Theconceptbehindisbasedonthefact,thatmostofthepages-productviews,categorylistsorhomepagedoesnotchangetoooften.
Therefore,itisnotneededtogeneratethepageeverytimeitisaccessedfromscratchandthusrunthesophisticatedbutslowMagentoCoreeverytime.
Mostofthesepagescanbepre-cached-thatispregenerated-andthenservertothesitevisitorsastheywerestaticHTMLpages.
Thisapproachsignitifantlydescreasestimeneededtogenerateanddownloadthepagesandsavessignificantammountofserverresourcesforotheractions,thatcannotbecached.
M-TurbooffersAcceleratedimagingofcategorylist,detailofproductsandprospectivehomepage.
Thisaccelerationisworking,ifyouarenotusinganyquerystringinURLslink.
Thepagesdonotcacheforlogged-inusers.
M-Turbodoescache:sitefrontpagecategorylistsproductdetailsThepagesdocacheforSEOURLs.
TheydonotgetcachedforURLsincludingquerystringorforpersonalizedpagesforlogged-inusers.
Anyway,asstatisticallymostoftheusersbrowseyoursiteunlogged,M-Turbowillbringasignificantspeed-uptoyoursite.
1.
2.
M-TurboEditionsM-TurboAcceleratorcomesintwoeditions-freeandpaid.
Thefreeeditionhassomelimitations,suchasitdoesnotspeed-upproductdetailpages.
Also,freeeditiongeneratesafootertextwithacomponentauthorback-reference.
2Chapter2.
InstallingM-TurboTheinstallationconsistofaseveralsimplestepsandcanbedoneinatwodifferentways-usingthePEARrepositoryusedforMagentoExtensionsorbycopyingtheM-Turbomodulemanually.
Toinstallapaidedition,firstfollowstepstoinstallthefreeoneandafterwardsfollowstepstoinstallpaid.
2.
1.
PrerequisitesTocontinuefollowingthisinstalationtutorial,firstmakesurethat:youhavearunningandfunctionalMagentositethefilepermissionsaresetcorrectlytobeabletoinstalladd-ons2.
2.
InstallingM-TurboFreeEditionYouhavetwooptionshowtostartwithinstallationofthefreeedition.
YoucanmakeuseoftheMagentoExtensionsPEARrepositoryordotheinstallationmanually.
2.
2.
1.
PEAR-basedInstallationTostartinstallation,pleasevisitTADYBUDEURLtogettheextensionkey.
Inthesectionadmin-istrationinputtoSystem/MagentoConnect/MagentoConnectManagerinYourMagento.
InserttheextensionkeyandpushthebuttonInstall.
2.
2.
2.
ManuallInstallationToinstallM-Turbomanually,unzipthedistributionpackagelocallyorattheremoteserver.
ThenmakesuretomergetheappdirectoryofyourMagentositeinstallationwiththeappdirectoryintheM-Turbodistributionpackage.
Whencopyingfilestoserver,youneedtomakesurethatyouhavethewritepermissionsfortheappfolder.
2.
3.
UpgradingtoPaidEditionofM-TurboThecrucialconditionforupgradingtopaidversionistheinsertionofthevalidlicencekey(alsocalledDownloadID).
Youwillobtainthekeybasedonpurchasingthepaidversionli-censeathttp://www.
artio.
net/e-shop/magento-extensions/m-turbo-magen-to-accelerator.
Thelicensekeyissenttoyouautomaticallybye-mailafteryourpaymentisconfirmed.
Withinstanttypesofpaymentstheconfirmationprocesstakessecondstoafewminutes.
Withbanktransfers,itmaytakeevenafewdays.
Afteryoureceivethelicensekey,pleaseinsertthekeyintheMagentoadministrationasdescribedatSection3.
3,"RegistrationTab".
Ifyouinsertkeycorrectly,youwillbeabletopushtheUpgradetofullversionsituatedintheupperleftcorner.
Thisactionwillautomaticallydownloadfullversionandinstallitonyourfilesystem.
IfyouhavestandardMagentocacheswitched-off,youhavetore-enableit.
Upgradehasbeencompletedsuccessfully,whenthebuttonUpgradetofullversion,togetherwiththedemoversionnoteatleftsiteofthescreendisappears.
Youshouldalsoseenewoptionsatthe.
Inthecasethatupgradewasnotsuccessfull(inadministration,thedemoversionnotestillappearsoradminfunctionalityisnotworkigncorrectlyinanyway)andyouaresuretousevalidlicensekey,pleasecheckwritepermissionstofolderapp/code/local/Artio/MTurboandfileswithin.
Aftercheckingandupdatingthepermissions,simplypressthebuttonUpgradetofullversionagain.
Afterthenextinstallationrun,theproblemsshallbefixed.
3Chapter3.
CacheUsageandManagingYoucanaccessM-TurboadministrationbychoosingSystem→M-TurboManagementfromtheMa-gentobackendmenu.
Thereare6tabsavailableattheControlPanel.
Firstoneincludestableofpagesthatarecurrentlybeingcached.
Seconddoesincludeconfigurationoptionsaswellascontrolsforlaunchingcacherelatedactions.
Theothertwotabsincludetreeswhereyoucanchoose/limitcategoriesandproductsincludedwithin,whichyoudesiretocache.
The5thtabincludesbuttonswithactionsyoucanlaunch.
The6ththenaformtoinsertyourpaidversionlicensekey.
3.
1.
OptionsTabThistabdoesincludeseveraloptionsthatcontrolhowthecachingworksaswellasbuttonstoinitiatecache-relatedactions.
Anychangeshouldbesavedbyclickingthe"SaveConfiguration"buttonlocatedintheleft-topcornerofthepage.
3.
1.
1.
GeneralOptionsPathtocachedpagesUsingthisoptionyoucansetapathtoadirectory,wherecachedpageswillbestored.
ThepathisrelativetotheMagentorootpath.
Incaseofchange,thedirectorywillberenamedandallthecachedpageswillbemoved,sothecacheregenerationisnotneeded.
Itisimportant,thatthepathisaccessibletothewebserver.
Changeofthepathalsorequiresupdateofthepathinthe.
htaccessrootfile.
Theupdateofthepathismadeau-tomatically,howeverthe.
htaccessfilemustbewriteable.
EnablemultistoreviewM-Turboadd-onalsosupportssystemswithmorethanonestoreviewactiveincaseyouhaveactivatedthestorenameintotheURL.
(ThissettingcanbedoneinSystem→Configuration→Websites→URLOptions→AddStoreCodetoURL).
Ifthissettingisalreadyactivated,youcanactivatethissettinginM-Turbo.
Afterenablingthesetting,itisneccessarytodeleteandregenerateallcachedpages.
Enablerefreshafterproductorcat-egorysaveEnables/disablesautomaticcacherefreshonproductorcat-egorymodification.
Ifthechoiceisselected,thenaftereachsavedchangeoftheproductanewversionofcachedpageisstoredfortheproductandrelatedcategory.
Incaseofcategorychange,onlythenewcategorypagecachewillbecreated.
IncasewhenaproductorcategoryURLisaffectedbythechange,thecacheisnotregenerated.
Insuchcase,asynchronizationofcachedpageswithtableofrewritesshouldbedone-seeTO-DO.
Regeneratingcachemaytakeuptoseveralseconds,there-foreincaseofimportingmultipleproducts,itmaybebettertodisableautomaticcachegenerationtemporarily,importalltheproductsandafterwardsinitiatethenewlyimportedproductscachegeneration.
3.
1.
2.
HomepageOptionsIncludehomepageIfyouselectyes,thehomepagewillbealsocached.
Inthelistofthecachedpages,thehomepageismarketwithabackslash-"/".
CacheUsageandManaging43.
1.
3.
AutomaticCacheManagementEnableautomaticcachegenerationByselectingyes,youwillallowautomaticcachingofallURLslisted,excepttheblockedones.
Automaticcachegenerationisrunneddailyatselectedhourthroughacronscript.
Tobesureallrunsasdesired,youneedtomakesurewgetprogramisin-stalledatyoursystemandyourcronisconfiguredproperly.
DownloadtimeConfigureshourandminutewhenthecacheautogenerationisstarted.
Cachegenerationmaytakeasignificantammountoftime,somakesuretoconfigurethisforoff-peakhours,ideallyduringnighthours.
LastdownloadInformationaboutthetimewhenlastautomaticcacheregener-ationwasrun.
3.
1.
4.
ManagementActionsRemoveallcachepagesThisactionwillremoveallexistingcachedpagesincludingdi-rectories.
SynchronizewithURLRewriteTa-bleThisactionlaunchessycnronizationwithanactuallistofURLredirectofMagento.
Thesynchronizationisdoneforproductsandcategoriesmarkedtobecached.
Onlypagesofactivestore-viewsarebeingcached.
Itisrecommendedtolaunchthisactionincaseofmoresignificantchanges(productimports,storeviewadded,etc.
)YoucanseelistoftheURLsatthefirsttab.
Pagesbeingcachedaredeterminedbasedonthislist.
GeneratelistofrewriteURLstofileLaunchingthiswillgeneratealistofcachedURLsintoafile.
ThefilewillbesavedinadirectoryconfiguredunderPathtocachedpagesanditsnameisurllist.
txt.
Thisfileisusedalsoforcacheautogeneration.
Itisthereforerunnedautomati-callybeforeeachcacheautogenerationrun.
DownloadallpagesInteractivegeneratedofallpageslistedinthecachepageslist(excepttheblockedones).
Theprogressofcachingcanbemon-itoredinaseparatewindow(donotclosethiswindow).
Pleasenotethatthegenerationofallcachepagesmaytakeconsider-ableammountoftime,dependingonoverallnumberofpages.
3.
2.
URLsTabThistabcontainsalistofpagestobecached.
Allautomaticcachingisdonebasedonthislist.
ThelistispreparedbasedontheURLrewritelistoftheMagentocore.
Incasethelistisnotcomplete(e.
f.
afternewproductshasbeenadded)youcanupdatethelistbydoingthesynchronizationaction.
Anypageinthislistcanbeblockedandthuspreventedfrombeingcached.
Ifthepageisblocked,itispreventedfrombeingcachedandwillbeignoredduringthecachingprocess.
Ifyoublockanalreadycachedpage,itwillbeautomaticallyerasedfromthecache.
Table3.
1.
ListoftablecolumnsIDInternalidentifierStoreStorewherethepagebelongsRequestPathPageURLrelativetoMagentostorerootCacheUsageandManaging5CachedShowsifpageiscached(cachefileispresentonthedisc)LastRefreshTimestampofthelastpagecacherefreshStateDisplaysifpagecachingisblockedornotAttheheadofthetable,youcanfindCacheSelectedPagesbutton,thatwillinitatecachegenerationforthepagesselectedinthelist.
3.
3.
RegistrationTabThistabcontainsafieldwheretheproductlicensekey(DownloadID)canbeintered.
Tobeabletoupgradefromfreetopaidversion,thekey(DownloadID)needstobefilledincorrectly.
Themostrecommendedprocedureistousecopy+pastefunctionfromthee-mailwherethekeywassenttoyou.
Please,insertthekeyintotheprovidedfieldandconfirmtheactionbyclickingtheSaveconfigurationbuttonintheupperleftcorder.
Ifthecorrectkeywasinserted,youshouldseeyourorderdatalinkedtothekey(Name,Company,Date)andthetext:Status:OK.
Incaseoffailure,youwillseeamessagedescribingtheproblem(keynotrecognized,domainnotmatching,etc.
)3.
4.
PageSelectionTabsThelasttwotabsareusedtodefinewhatcategoriesandproductsshouldbecached.
AtthetabnamedCategories,youchoosecategoriesforwhichthelistpagesshouldbegenerated.
AtthetabnabmedProducts,youchoosecategories,wheretheproductdetailpageswillbecached.
Aftermakingthedesiredchoice,presstheSaveConfigurationbuttonandthensynchronizethelistusingtheSynchronizewithURLRewriteTableattheConfigurationtab.
6Chapter4.
FAQsandTroubleshooting4.
1.
Q:Thepageappearstobecached,butwhenat-teptingtoaccessit,thebrowserreports"Accessforbidden"errorA:Mostlikely,the.
htaccessfileismissingthethedirectorywiththecachedfiles.
Thisproblemcanbefixedbycreatingan.
htaccessfileinthedirectorycontainingthecachedfiles(defaultinvar/turbocache)withafollowingcontent:Orderdeny,allowAllowfromall4.
2.
Q:ThedailynightcachebuildingdoesnotworkA:Therecanbemultiplesourceofthisproblem.
Firstofall,makesuretocheckthatsetting"Enableautomaticcacherefresh"inmodulesettingsisenabled.
Ifthesettingsisenabled,butthecacherefresh-ingdoesnotworkanyway,makesurethattheMagentocronjobsarerunnedregularlyandthattheitsparametersaresetcorrectly-seeSystem→Configuration→Advanced→System→Cron.
Morein-structionsaboutcronsettinginMagentoisavailableathttp://www.
magentocommerce.
com/wiki/how_to/how_to_setup_a_cron_job.
4.
3.
Q:HowcanIidentifyifthepageiscachedandwhenwasitrecachedlasttimeA:Youcanfindthiseasilybycheckingthesourcecodeofthegivenpageinyourbrowser.
Ifyouseeaspecialtagattheendofthesourcecode,thenthepageiscachedandthetagincludesatimestampinformationaboutwhenthepagewascachedlasttime.
Ifyoudonotseeanysuchmarkerthere,thepageisnotbeinggeneratedfromM-Turbocache.
4.
4.
Q:ThetimeoflastcachingdoesnotmatchtherealtimeA:ThereasonforthismightbeeitherincorrectlysettimeontheserverordifferenttimezonesettingsatserverandinyourMagentoconfiguration.
对于Megalayer云服务器提供商在之前也有对于他们家的美国服务器和香港服务器进行过评测和介绍,但是对于大部分网友来说需要独立服务器和站群服务器并不是特别的普及,我们很多网友使用较多的还是云服务器或者VPS主机比较多。在前面也有在"Megalayer新增香港VPS主机 1GB内存 50GB SSD 2M带宽 月59元"文章中有介绍到Megalayer商家有新增香港CN2优化VPS主机。那时候看这...
如今我们网友可能较多的会选择云服务器、VPS主机,对于虚拟主机的话可能很多人不会选择。但是我们有些外贸业务用途的建站项目还是会有选择虚拟主机的。今天看到的Stablehost 商家虚拟主机在黑五期间也有四折优惠,对于这个服务商而言不是特别的喜欢,虽然他们商家和我们熟悉的老鹰主机商有些类似,且在后来老鹰主机改版和方案后,Stablehost 商家也会跟随改版,但是性价比认为不如老鹰主机。这次黑色星期...
搬瓦工怎么样?2021年7月最新vps套餐推荐及搬瓦工优惠码整理,搬瓦工优惠码可以在购买的时候获取一些优惠,一般来说力度都在 6% 左右。本文整理一下 2021 年 7 月最新的搬瓦工优惠码,目前折扣力度最大是 6.58%,并且是循环折扣,续费有效,可以一直享受优惠价格续费的。搬瓦工优惠码基本上可能每年才会更新一次,大家可以收藏本文,会保持搬瓦工最新优惠码更新的。点击进入:搬瓦工最新官方网站搬瓦工...
magento为你推荐
操作httpflashfxp下载求最新无需注册的FlashFXP下载地址大飞资讯新闻资讯包括什么内容?银花珠树晓来看谜语白色花无人栽一夜北风遍地开。旡根无叶又无枝不知是谁送花来。谜底是什么小型汽车网上自主编号申请成都新车上牌办理流程和办理条件是如何的徐州商标徐州松木家具前十名香盛圆排第几可信网站可信网站 是自己去注册的还是由做网站 的人帮弄的?独立访客百度统计中访客数(UV)什么意思joomla安装如何在win10安装synctoy长沙电话号码升位湖南长沙电话号码是几位数
免备案虚拟主机 传奇服务器租用 泛域名解析 php探针 html空间 卡巴斯基官方免费版 服务器维护方案 河南m值兑换 双线主机 129邮箱 免费私人服务器 超级服务器 免费mysql数据库 万网空间管理 免费ftp 石家庄服务器托管 测试网速命令 大化网 双十二促销 移动王卡 更多