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.

VinaHost,越南vps,国内延时100MS;不限流量100Mbps

vinahost怎么样?vinahost是一家越南的主机商家,至今已经成13年了,企业运营,老牌商家,销售VPS、虚拟主机、域名、邮箱、独立服务器等,机房全部在越南,有Viettle和VNPT两个机房,其中VNPT机房中三网直连国内的机房,他家的产品优势就是100Mbps不限流量。目前,VinaHost商家发布了新的优惠,购买虚拟主机、邮箱、云服务器、VPS超过三个月都有赠送相应的时长,最高送半年...

乌云数据(10/月),香港cera 1核1G 10M带宽/美国cera 8核8G10M

乌云数据主营高性价比国内外云服务器,物理机,本着机器为主服务为辅的运营理念,将客户的体验放在第一位,提供性价比最高的云服务器,帮助各位站长上云,同时我们深知新人站长的不易,特此提供永久免费虚拟主机,已提供两年之久,帮助了上万名站长从零上云官网:https://wuvps.cn迎国庆豪礼一多款机型史上最低价,续费不加价 尽在wuvps.cn香港cera机房,香港沙田机房,超低延迟CN2线路地区CPU...

SugarHosts糖果主机圣诞节促销 美国/香港虚拟主机低至6折

SugarHosts 糖果主机商我们算是比较熟悉的,早年学会建站的时候开始就用的糖果虚拟主机,目前他们家还算是为数不多提供虚拟主机的商家,有提供香港、美国、德国等虚拟主机机房。香港机房CN2速度比较快,美国机房有提供优化线路和普通线路适合外贸业务。德国欧洲机房适合欧洲业务的虚拟主机。糖果主机商一般是不会发布黑五活动的,他们在圣圣诞节促销活动是有的,我们看到糖果主机商发布的圣诞节促销虚拟主机低至6折...

magento为你推荐
操作http企业推广如何推广自己公司的产品。cuteftpcuteFTP的使用方法?netshwinsockreset电脑开机老是出现wwbizsrv.exe 应用程序错误 怎么处理爱优网为什么优酷土豆等视频网站那么多人上传视频科创板首批名单2019年房产税试点城市名单400电话查询400电话号码可以查询归属地吗?办理400电话是不是很贵?discuz论坛discuz论坛要怎么弄账号通如何绑定天下贰手机账号通?谷歌新漏洞谷歌浏览器真的有沙箱吗?真的不中毒?
虚拟主机是什么 com域名注册1元 中文域名查询 免费申请域名和空间 美国主机推荐 NetSpeeder 国外网站代理服务器 云全民 个人域名 柚子舍官网 共享主机 阿里校园 isp服务商 卡巴斯基免费试用 web服务器安全 免费的asp空间 免费个人主页 注册阿里云邮箱 google搜索打不开 restart 更多