Searching, Commenting or Public Entry Submission Slow in Movable Type?

| 151 Comments | No TrackBacks |
I recently came across two Movable Type installations where the owners were complaining about the slowness of searching, commenting and submitting public entries.  In such cases, often the server load is suspected, or maybe the database is the bottleneck.  However, in both cases a different culprit turned out to be slowing things down...
Non-optimized templates

That's right...  Depending on how Movable Type is configured, you will see a 'thank you' message after submitting an entry or a comment, and this message is rendered on-the-fly by the CGI script you are submitting to.  When searching the search results page is also rendered on-the fly.

Now, the basic contents of either the 'thank you' message or the search results are quite simple: a few lines of text, or a few summarized entries.  In theory, this shouldn't take too long to render, and in practice it doesn't.

But what if these pages contain the same sidebar (for example) that you are using on the rest of your website?  This might contain a list of all your archives, the most recent comments, some RSS feeds, a tag cloud and lots and lots of other things.

On the rest of the website, this is no problem: the sidebar and its content are generated at publishing time, so it just sits there, ready to be served.  But in the 'dynamically' rendered comment/entry reply or search template all of this content has to be rendered 'on-the-fly', and all this adds seconds (sometimes even minutes) to the waiting time.

How to fix this?

The basic way to fix this is to set up caching and server side includes for the parts of the template that are slowing things down.  Alternatively, you can remove these parts (do comment submitters really need to see the tag cloud and the archive list etc. again?)

The basic steps to do this are identical to what you would do to optimize your templates for normal publishing, as described here.  But this time, you need to do it for your system templates instead of your entry/archive/index templates.

system templates.jpg

No TrackBacks

TrackBack URL: https://www.movabletips.com/cgi-bin/mt/mt-tb.cgi/2819

151 Comments

㱰㹔桥⁍潲浯湳⁡牥⁡慲来⁣畲楯獩瑹⁴漠灥潰汥⁷桯⁡牥潴⁍潲浯渮⁔桥礠桡癥⁡⁢慳楣⁣潲攠扥汩敦⁴桡琠楳⁧潯搠慮搠 louboutin 物杨琮⁔桥礠扥汩敶攠楮⁦慭楬礠慮搠瑡歩湧⁣慲攠潦瑨敲献⁔桥礠慬獯⁨慶攠獯浥⁳瑲慮来⁢敬楥晳⁴桡琠捯浥⁷楴栠慬氠瑨慴⁧潯摮敳献⁌整猠數慭楮攠愠晥眠潦⁴桯獥⁡湤⁳敥⁷桡琠祯甠瑨楮欮㰯瀾഼扲㸼瀾ㄠ䵵汴楰汥⁷潲汤猠睩瑨畬瑩灬攠䝯摳⸠周敹⁢敬楥癥⁴桡琠䝯搠捲敡瑥搠浡湹⁰污湥瑳⁷楴栠浡湹⁰敯灬攠慮搠敡捨⁰污湥琠桡猠楴猠潷渠䝯搮⁔桥礠杯⁦畲瑨敲⁴漠獡礠瑨慴⁩映祯甠慲攠杯潤⁡湤⁳灥捩慬⁹潵⁣慮⁡汳漠扥捯浥⁡⁇潤映祯畲睮⁰污湥琮⁄楤⁴桥⁍潲浯湳⁣牥慴攠浵汴椠汥癥氠浡牫整楮朿㰯瀾഼扲㸼瀾㈠䙯牧

Rangers can be found in Beijing dial telephone assistance hollister france Relief Management Service Center, said, louboutin pas cher hollister france, calling on the public to actively participate in the discovery of vagrants and beggars, persuasion and relief work to hel mulberry outlet p provide clues vagrants and beggars.

TangGuLing Xibeiwa

's food safety sampling pass rate reached 97.36 percent, included louboutin pas cher in the national ec abercrombie france onomic and social development indicators rice,louboutin pas cher, wheat flour, edible vegetable oil,abercrombie france, vegetables, pork,mulberry sale, beans,air jordan, The products focus food food safety mulberry sale sampling p

Second,hogan outlet, improve the daily construc hogan outlet tion process periodic on-site remediation and security mulberry outlet uk review mechanism to ensure that on-site problems and hazards been cleaned and solutions in order to keep the site safe and orderly; three are active prevention,mulberry outlet uk, attempted to atta hollister c

's official ray ban pas cher website. But a few days later,ray ban pas cher, his bank card did no hogan outlet t run down. Bank staff said,hogan outlet, according to the relevant provisions of Barclays Bank,abercrombie france, bank cards are abercrombie france not allowed to use celebrity photos. Because Miller overgrown like the late tenor Luciano

Dozens of families of the deceased have also been settled,air jord air jordan an.

As for the cause of the accident and whethe hogan outlet r there is concealed plot miners,hogan outlet, Silla District innings staff said,mulberry sale, these have to be rescued,loubou mulberry sale tin, who set up an investigation group to do further

' paid leave unlimited reverie. Not just in Shandong, in early 2009, the Guang mulberry outlet uk dong national tourism and leisure on the first pilot program to encourage emp abercrombie pas cher loyees in the "51" before and after paid leave, along with "Little Golden Week" form a de facto holiday. In addition, Jiangsu, Zhejiang, Jiangxi air jordan pas cher ,

's production equipment a hollister france nd processes,holliste abercrombie pas cher r france, the scene seized related equipment,abercrombie pas cher, and issued a rectification notice. In the afternoon,mulberry outlet uk, the Lake of Industry and Commerce offic mulberry outlet uk ial told reporters,abercrombie, factory manager Dumou 16:00 or so has been a

Many eBay sellers dream to become successful in eBay business, but very few rise to the top and succeed. The key to become a successful eBay seller is to provide quality products and sell them for a good profit margin.

eBay Virtual Office Assistants share 7 best selling tips to drive more traff

Traffic can be a hassle if you have to wade through it going to and from work. Having to report to a boss can be inconvenient if you don't like your boss, and if you know more about how to run your department than he or she does. In fact,Nike Jordan Sklep, applying to a job can be exasperating if yo

Online social networking service is an online platform, service or site that focuses on building and reflecting of social relations or social networks among people, e.g., who share interests and/or activities.

Social networking sites tend to share some conventional features. Most often,buty nik

As medical institutions exis ray ban pas cher t outpatient, emergency, rescue, hosp hogan outlet italization, surgery,ray ban pas cher, public health and other types of services, so workload statis abercrombie pas cher tics will introduce the "standardized work" for statistical work totals.

How much of this revenue is allocated according to the

Many eBay sellers dream to become successful in eBay business,Buty Air Max, but very few rise to the top and succeed. The key to become a successful eBay seller is to provide quality products and sell them for a good profit margin.

eBay Virtual Office Assistants share 7 best selling tips to dri

SEO is one of the important factors that play a major role in building traffic to your website. In this competitive world, it is very important for an online seller to create an effective SEO listing to achieve the top ranking in online business platform. But you as an Entrepreneur need not involve

If you want to be the top seller amongst your competitors, you would need to identify your customers' needs and to choose the right products and services that fulfill their needs. Building a trustworthy relationship by delivering quality products through quality services, would pave you the way for

's mother and her boyfriend are suspected of being in charge of ch モンクレール ダウン ild abuse or neglect or young person was arrested; Two released on bail and will report back early this month. Police urge parents should pay attention to their kids active behavior,モンクレール ダウン, avoidance of accidents. Investigations b

's clothes hollister , buy twenty-three sacks of expired food. Through unannounced visits, louboutin the reporter found that these expired food place for a small hotel, Mala shops, small factories, construction sites, etc. Some traders h mulberry outlet uk otel was kind enough buyers to keep in touch, if you need more goods, but also a day

's 26 cities in October reduced the actual opening more than louboutin two percent. SouFun data monit hogan outlet oring center statistics show that as of October 31, 2010,louboutin, 26 cities nationwide ordinary commercial residential projects in October were higher than the actual opening planne ray ban pas cher d opening plummeted 23.7%.

Do you want to find a way you can start living your dream life, instead of just dreaming,scarpe nike donne, but do not know how to do this? Then you need to know you can create multiple sources of income that allows you to do this.

use more than one way to make money is the best method,scarpe

Philippines is considered to be in the world today as a call center building,Steve Young Jersey. This is because the Philippine call center industry's continued success in various businesses around the world to provide some of the most diverse collection of live answering service. Call center compan

There are many distractions when working online,Denis Savard Jersey, simply because you've put your business right smack dab in the middle of the information superhighway! While in one respect,Authentic Blackhawks Jersey, this is a good thing, because "information is king",Duncan Keith Jersey, it ca

If you are a novice to dive into the world of buy website traffic, you have to learn some PPC strategic investment. Why? If you do not, you will most likely spend any money, you can not be saved directly to your training PPC advertising networks,Brent Seabrook Jersey, few see the results. This is a

your MLM business owner,David Krejci Jersey, efforts to succeed, but has not figured out where you are going wrong? Then, you have to know some internet marketing tips that will help you succeed,Brad Marchand Jersey, you have targeted.

There are so many different skills, it is important to kno

Do you want to find a way you can start living your dream life, instead of just dreaming, but do not know how to do this? Then you need to know you can create multiple sources of income that allows you to do this.

use more than one way to make money is the best method,Dennis Wideman Jersey, be

When you have an MLM business, you need to do one of the most important things is the marketing. This is why you need to know MLM marketing methods are always effective for everyone.

Understanding these methods will get you started on their education. If you really want to get it to work effec

you have been looking for affordable search engine optimization services, but can not seem to find them? There are some guidelines you need to know that lets you easily find the best service for your budget.

If you are smart and use these guidelines, they will make a final decision easier to m

important thing is that you're trying to maximize the business started, but you should be through the establishment of four or five small online business rapidly expand your revenue base, and began to focus on them later expanded. Using public domain products, this approach is quite easy, and quite

Internet marketing world of the new people may find yourself asking: "What is Pay Per Click"? This is a natural question, because most of the time click is free, is not it? Pay per click, or PPC,Blank Jersey, as it is sometimes referred to as "contextual ad network" is also called. Sounds impressive

's reminder,abercrombie france, he thought of handling low. Consequently, abercrombie france abercrombie, when t abercrombie he certificates to the police station,hogan, police found Zhang was actually online fugitives,hollister france, ordered it on the spot and arrested him. (Xiao Liang peak)


相关的主题文章:


in which co hogan n

's fo abercrombie pas cher ur state-ow hollister france ned banks to determine first mortgage interest rates will not be higher than the benchmark interest rate, the reporter found that some commercial banks in practice already given a more tempting of hollister fers policy, that is based on the benchmark interest rate at 9.5% or even 10% off resort

's lower rate has been reduced. An accident, in mine cadres fled sinc louboutin e the end of February this louboutin pas cher year, the province of coal mines, non-coal mines, transportation and other areas of serious accidents have rebounded, especially in hollister coal mergers and acquisitions process, the various overt and covert conf

'clock yesterday m louboutin orning, Wan Jiang Area with a rented 401 community room,, a man hogan with his wife noisy three hours later, his wife beaten black and blue, completely ignoring the security guard across their iron persuasion, then also opened the your mother died gate and the wife hold to the same layer platform thrown

's recent behavior of the United States pointed out abercrombie france that,abercrombie france, reg hogan outlet ardless of how much the United States and the differences between,hogan outlet, the simple fact is that "we need China,hollister, China also needs us, we mus hollister t correctly handle the relationship." Kerry said that global ch

establish a great way for your online business profits is to develop an article marketing plan. Here are some suggestions to help you achieve a good plan.

There are many ways to drive traffic to your website,Elvis Dumervil Jersey. Some of them cost money and others lost or completely free of c

It is important to understand how to make your blog as a viable tool that can help you build your business branding and marketing purposes, as it has a huge potential. The best blog site successful use their platform, not only to promote goods and services,49ers Womens Jersey, but also help create a

If you are a novice to dive into the world of buy website traffic, you have to learn some PPC strategic investment. Why? If you do not, you will most likely spend any money, you can not be saved directly to your training PPC advertising networks, few see the results. This is a very frustrating resul

In this New Year beautifu parajumpers outlet l moment, I'm glad through China Radio International, hollister China National Radio and China Central Television, the people of all nationalities, to compatriots in Hong Kong and Macao special admi barbour outlet nistrative regions,parajumpers outlet, to the Taiwan compatriots and overseas Chinese,h

Country a water feature area 2888,'s security.,abercrombie pas cher, 1 's security. 78 abercrombie pas cher ,,000 km long river divisions,hollister outlet, lake and reservoir area of ​​43,000 square kilometers, including development and utilization of about 40% the number of zones, area accounted for 15.7%; two water function zones 2 hollister outlet 7

Exhaust Pollution Prevention and Management Measures "come abercrombie pas cher out, th barbour pas cher e old" red tape "At the same void.

The official said, the vehicle system involves a wide range of high public interest, within the framework of the rule of law should be positive hollister outlet , safe and orderly manner.

Right Pinglia

​​broken glass will appear when the other party does not make a further explan louboutin pas cher ation,louboutin pas cher. Ground stacked with a few glass camera / reporter Wang Hejian

abercrombie pas cher Road tra barbour nsport, long-distance passenger traffic increased significantly 6 Japan, sent a total road passenger 80,810,000 passenger mulberry sale s, an increase of 7.6%.

One major area out and sent to Beijing, Shanghai, Guangzhou and other cities of passenger density and actual loading rate increased signifi

And the Beijing Amendment toil barbour sale ets local standards wi hollister france ll be based on the actual situation in Beijing equilibrium real change this seemingly uneven standards,barbour sale.


's room to urinate) ratio of abercrombie 1:1

Guangzhou in 2011 to develop a "toilet seat on the improvement of public toilets in

victories.

March 1,holl hollister france ister france, 2012 至 8 31,barbour uk, the Ministry barbour uk of Public Security to deploy the national public security organs to crack down on economic crimes "Detection Campaign", launched on all areas of economic crimes,barbo barbour sale ur sale, full coverage,mulberry sale, the whole chai

● 2012 年 site is identified as the town of Daxing District barbour pas cher , Langfang, Hebei Lixian Town, Guang Yang District and betwe barbour uk en plots.

Advances in network transmission terminal building design drawings untrue Yao Yabo introduction, the airport is also unable to determine the specific construction hollister uk p

Exhibition to safeguard natio mulberry outlet nal unificatio barbour outlet n, ethnic unity and social stability as its theme,mulberry outlet, which exposes inside and outside the "three forces" of planning and organizing Urumqi, "7 5" barbour pas cher vandalism burning incidents of serious violent crimes and crimes truth,barbour outlet, demonstra

To the "Eleventh Five",moncler outlet, China's urban basic pension insurance moncler outlet reached 257 million people,hol hollister france lister france, the urban basic medical insurance 432 million people,hollister uk, unemployment insurance 134 million people, 162 million work-related injury insurance policy holders who hollister uk


, the mulberry sale first city across th parajumpers e river to solve problems.

Walked into the waiting room, the colorful children's drawings in the form of murals showcase, let subway station becom urbanization es lively, vibrant.


's first underground rail lines,mulberry sale, but also China's first cross the Yangtze moat o

The last two days, Tuo downstream of the hotel, cru hollister france ise ship business is indeed affected.

Visitors come out to p hollister uk lay not very concerned about the ticket prices,hollister france.

For some businesses, travel agencies, tourists, quite a barbour sale bit "surprise attack" flavor.

They complain,

not harmonious,hollister uk. "

Many people do not understand so hollister uk rting trash in a public environment and public faci parajumpers pas cher lities evaluation, for the "sorting trash can guide the public to identify how to classify garbage" issue options, there are 39.1% of the respondents said "absolutely not"; site hollister france

Text / repor parajumpers ter Li hollister Shasha Source: Legal Evening News,parajumpers


But abroad,hollister, the provisions of blood donors in our country is far more extensive.

Relevant source barbour s,barbour, the NPC next year will be "Blood Donation Law" 13th anniversary of the research,barbour outlet, and b

Leave a comment