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.

华纳云新人下单立减40元/香港云服务器月付60元起,香港双向CN2(GIA)

华纳云(HNCloud Limited)是一家专业的全球数据中心基础服务提供商,总部在香港,隶属于香港联合通讯国际有限公司,拥有香港政府颁发的商业登记证明,保证用户的安全性和合规性。 华纳云是APNIC 和 ARIN 会员单位。主要提供数据中心基础服务、互联网业务解决方案, 以及香港服务器租用、香港服务器托管、香港云服务器、美国云服务器,云计算、云安全技术研发等产品和服务。其中云服务器基于成熟的 ...

月神科技:香港CN2/洛杉矶CN2/华中电信高防vps,月付20元起

月神科技怎么样?月神科技是由江西月神科技有限公司运营的一家自营云产品的IDC服务商,提供香港安畅、香港沙田、美国CERA、华中电信等机房资源,月神科技有自己的用户群和拥有创宇认证,并且也有电商企业将业务架设在月神科技的平台上。目前,香港CN2云服务器、洛杉矶CN2云主机、华中电信高防vps,月付20元起。点击进入:月神科技官方网站地址月神科技vps优惠信息:香港安畅CN2-GIA低至20元核心:2...

buyvm美国大硬盘VPS,1Gbps带宽不限流量

buyvm正式对外开卖第四个数据中心“迈阿密”的块存储服务,和前面拉斯维加斯、纽约、卢森堡一样,依旧是每256G硬盘仅需1.25美元/月,最大支持10T硬盘。配合buyvm自己的VPS,1Gbps带宽、不限流量,在vps上挂载块存储之后就可以用来做数据备份、文件下载、刷BT等一系列工作。官方网站:https://buyvm.net支持信用卡、PayPal、支付宝付款,支付宝付款用的是加元汇率,貌似...

magento为你推荐
小企业如何做品牌小公司如何创立自己的品牌中国企业信息网中国企业网怎么样支付宝账户是什么支付宝的账号是什么啊www.topit.me提供好的图片网站面板flashyixingjia报价是什么意思科创板首批名单2019年房产税试点城市名单小型汽车网上自主编号申请如何从网上自选车牌号可信网站可信网站认证怎么做?贵不?价格大概是多少?武林官网欢go客户端一般在哪里下载是官方的?
plesk winhost uk2 unsplash 商务主机 英文站群 百兆独享 亚马逊香港官网 umax120 免费智能解析 万网空间购买 Updog 服务器硬件防火墙 中国电信宽带测速器 跟踪路由命令 服务器维护 个人免费邮箱 华为云建站 php服务器 谷歌台湾 更多