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.

AkkoCloud(60元/月 ),英国伦敦CN2 1核 768 MB 内存 10 GB SSD 硬盘 600GB 流量 英国伦敦CN2 1核  1.5G  300Mbps

官方网站:https://www.akkocloud.com/AkkoCloud新品英国伦敦CN2 GIA已上线三网回程CN2 GIA 国内速度优秀.电信去程CN2 GIALooking Glass:http://lonlg.akkocloud.com/Speedtest:http://lonlg.akkocloud.com/speedtest/新品上线刚好碰上国庆节 特此放上国庆专属九折循环优惠...

1核1G仅38元/月起野草云服务器,香港/美国洛杉矶CN2+BGP云服务器,

野草云服务器怎么样?野草云是一家成立了9年的国人主机商家,隶属于香港 LucidaCloud Limited (HongKong Registration No. 2736053 / 香港網上查冊中心)。目前,野草云主要销售香港、美国的VPS、虚拟主机及独立服务器等产品,本站也给大家分享过多次他家的优惠了,目前商家开启了优惠活动,香港/美国洛杉矶CN2+BGP云服务器,1核1G仅38元/月起!点击...

VPSDime7美元/月,美国达拉斯Windows VPS,2核4G/50GB SSD/2TB流量/Hyper-V虚拟化

VPSDime是2013年成立的国外VPS主机商,以大内存闻名业界,主营基于OpenVZ和KVM虚拟化的Linux套餐,大内存、10Gbps大带宽、大硬盘,有美国西雅图、达拉斯、新泽西、英国、荷兰机房可选。在上个月搞了一款达拉斯Linux系统VPS促销,详情查看:VPSDime夏季促销:美国达拉斯VPS/2G内存/2核/20gSSD/1T流量/$20/年,此次推出一款Windows VPS,依然是...

magento为你推荐
北京市儿童福利院投标360primarily网易yeahphp计划任务php定时任务,只执行一次,不要死循环重庆400年老树穿楼生长重庆海拔500左右的红沙土适合栽哪种果树美要求解锁iPhone苹果美版有锁和无锁的区别degradeios青岛网通测速中国联通宽带,青岛地区咋样,与网通有啥区别zencart模板zencart里那些目录分别对应MVC设计模式的模型 视图 和控制器呢?oscommercewedopay的通道怎么样?
php空间租用 warez 阿里云搜索 paypal认证 魔兽世界台湾服务器 java空间 福建天翼加速 新天域互联 ntfs格式分区 申请网页 服务器是干什么用的 太原联通测速 石家庄服务器托管 可外链的相册 google搜索打不开 zcloud 什么是dns pptpvpn 日本小学生 瓦工工资 更多