Loading

Performance Tips: make your Kentico app lighting fast

There are many nice articles about web site performance optimization accross the Internet. As long as this is really important topic, I think there can't be too many of them. That's why I'd like to share some suggestions on how to make Kentico run faster.


Generic 

 
Scheduled Tasks: turn off any unnecessary scheduled tasks; make sure all enabled tasks are running with meaningful frequency

Output Filters: output filters goes through rendered page markup and fix some elements within it. If you feel confident about quality of your HTML you are good to turn them off. Keep in mind there might be a lot of markup added by content editors through editable text web part

Caching: Kentico provides us with great caching capabilities out of the box - do not hesitate to use it! Data caching is a key to a good performance. Kentico allows us to cache almost everything and almost everywhere. With cache dependencies we can easily specify when system should update cached data. We can cache data retrieved with data source web parts, viewers, macro, page data and any data we read from database in custom code. It is extremely useful with custom transformation methods 

Macro: make sure all macros are signed with valid signature

Event Log: check event log for any errors in it and resolve if any

Debug: make sure debug is disabled in production. It could be enabled only in case you need to troubleshoot some issue and should be disabled immediately after completion 

Continuous Integration: CI is developer’s tool to synchronize their working environments. It should never be used to transfer changes from QA to production, which means it should never be enabled in production

CSS: put all you styles into (one) Kentico stylesheet. Try to avoid adding CSS into transformation, web part containers, etc.

JavaScript: do not place too many web parts with inline javascript. You should better place your code in js file and reference it, so you may substitute many inline javascripts with one file
Resources compression: allow resources compression and minification of JS and CSS. This will increase processing for the first request, but speed all furthers ones 

CMS Tree: keep your CMS Tree organized and well structured, avoid placing 100500 pages under the same parent, use a couple of levels instead. In addition to performance benefits you get, this will allow content editors to navigate easier  

 

Template 

Web part IDs: do not populate/use web part name, you can always specify some meaningful ID for web part, which will help you to identify the responsibilities of the actual web part

Content before/after: Kentico provides us with web part containers, which is very convenient way to wrap web part with some markup. Unfortunately, is not efficient, as it adds extra loading and processing. Content before/after is much more efficient, as it loads along with other properties of the web part, however it is not convenient as it requires knowledge of HTML

Check permissions: make sure this property of the web part is set to false in case of public content. This also could be setup on the global level in Settings in case of publicly available web site

Columns: make sure you're loading only data you need. If you leave this property of a web part blank, Kentico will load all available column. In some cases, number of column could be around 200. Usually we need 5-20 columns on page

 

Data storage 

Files: store files in file system - it is much faster to load them from there. Also you do not overwhelm your database with gigabytes of files

Media: store all media files into Media Library instead of CMS Tree

Data: often we choose custom page type as best fit to store some data and/or content. Unfortunately, page types are not efficient performance wise. Kentico stores pages’ data into three different database tables and has a lot of processing around it. There are many benefits and features available for page types, those are not available for other objects: workflow, security, localization, same page type stored it in different locations, etc. But there are situations, when we do not need any of those features. In those cases, I'd recommend you to consider Custom Tables or Custom Modules. With any of those two you can easily provide content editors with nice interface to manage those objects. This also help you to prevent enormous amount of pages.

 

Conclusion

There are many other things you could do in order to increase performance of your application: placing javascript files references at the end of your page, using CDN, optimizing of your images, combining javascript and css into a single file, loading data with AJAx, emilimination of the errors in the markup and javascript, etc., but all they are out of Kentico topic, however also very important.
Tips I've mentioned here are not requirement and might not be even possible in some cases, but be sure to consider them.
 


Comments
phentermine 37.5 mg buy online
Phentermine is a stimulant similar to an amphetamine. It acts as an appetite suppressant by affecting the central nervous system.
2/19/2018 9:12:53 AM

https://www.stclairphysioclinic.com/
your post gave me a new perspective! I have read many other articles about the same topic, but your article convinced me! Click here for
2/18/2018 3:01:13 PM

Twitter Marketing
This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information...
2/13/2018 11:18:18 AM

get backlinks for my website
It’s very informative and you are obviously very knowledgeable in this area. You have opened my eyes to varying views on this topic with interesting
2/7/2018 2:42:28 AM

eSports News
your post gave me a new perspective! I have read many other articles about the same topic, but your article convinced me! Click here for eSports News.
1/28/2018 12:39:34 PM

Kolkata Escorts
Renu Das Kolkata Escorts Services has gorgeous females provides Independent Escorts Service in Kolkata call girls at 100% satisfaction with VIP models. Provided Kolkata escorts at our agency are professional in nature and are eager to serve you at your place.
<a href="http://www.renudas.in/">Kolkata Escorts</a>
<a href="http://www.renudas.in/">Escorts in Kolkata</a>
http://www.renudas.in
1/23/2018 11:34:52 AM

Buy FUT 18 Coins
I definitely loved every little bit of it. I have you bookmarked your site to

check out the new stuff you post. Buy FUT 18 Coins

http://fifa18playercards.blogdigy.com/
1/16/2018 1:20:49 PM

Laina Laise
With over a decade of successful and innovative web projects behind us, Realize Online
1/10/2018 8:15:41 AM

ESO Guide Free
Thanks for writing such a good article, I stumbled onto your blog and read a few post. I like your style of writing.
1/9/2018 8:08:19 AM

teacher student
Nice to read the information here. I like the content that you have shared with us. I will soon come back for more updates.
1/4/2018 8:56:05 AM

Neha Sharma
Nice..Thanks for the sharing.
1/3/2018 7:25:43 AM

Capital Gains Tax Advice
Excellent information on your blog, thank you for taking the time to share with us. Amazing insight you have on this, it's nice to find a website that details so much information about different artists.
12/6/2017 3:00:37 PM

Chris Hemsworth Thor Jacket
In excessive-quantity environments, small adjustments to the database schema or methods for the use of the database may have large influences on standard performance. thanks plenty for this conspicuous publish sharing with us.
11/28/2017 12:08:28 PM

Reviews of side Effects
great post and creative ideas. I am happy to visit and read useful articles here. I hope you continue to do the sharing through the post to the reader. and good luck for the visitors site
11/20/2017 11:24:13 AM

Percy Jackson
Great Post. Thanks for sharing.
11/11/2017 5:56:11 AM

waqar mazhar
nice content
10/31/2017 4:24:28 PM

تور تایلند
AMAZING BLOG – KEEP IT UP & THANKS A LOT
10/25/2017 12:24:22 PM

Geisha Tattoos
Yes i really want them
10/6/2017 8:30:19 AM

total curve
This is one awesome blog post
10/5/2017 7:42:56 AM

citrusvruchten
I admire this article for the well-researched content and excellent wording. I got so involved in this material that I couldn’t stop reading. I am impressed with your work and skill. Thank you so much.
10/5/2017 2:08:43 AM

paypal
DMOZ Categories DMOZ categories for top--store-online.
10/2/2017 10:14:38 AM

The Woman Men Adore
I must say, I thought this was a pretty interesting read when it comes to this topic. Liked the material. . . . .
9/25/2017 7:26:49 PM

job paris
Emploi masseuse naturiste paris Tu aimes te balader et ètre mobile sans ètre coincée dans un lieu voici le job masseuse naturiste paris pour toi, facile sympa relax emploi masseuse naturiste paris .Paris emploi facile pour personne honnète responsible emploi masseuse naturiste paris Tu choisis les lieux de mission contrat indépendent paris emploi Aprends le massage pour le reste de la vie paris emploi masseuse naturiste Job paris mobile sympa relax RDV aller sur
9/22/2017 6:43:21 PM

Volusion Customization Services
sdfsd nice post
9/21/2017 11:37:42 AM

ajith7444
It has been simply incredibly generous with you to provide openly what exactly many individuals would’ve marketed for an <a href="wildkrattsgames.com">wild kratts games for free</a> to end up making some cash for their end, primarily given that you could have tried it in the event you wanted.
9/21/2017 10:03:00 AM

leather floggers
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
9/17/2017 8:27:05 AM

Anaheim Teeth Cleaning
We all know that good oral hygiene, including teeth cleaning, keeps your teeth looking clean and shiny, but did you know that it’s also essential to your overall health? It’s true, poor oral hygiene can lead to a variety of dental and medical problems such as gum disease, infection, heart disease, stroke, and even diabetes.Anaheim Teeth Cleaning
9/9/2017 3:24:15 AM

Internet Marketing
So is it really worth it? Well, is it worth it for you to work extremely hard to make it work? That’s the question you need to ask yourself, because if it wasn’t profitable then why would anybody do it? What it comes down to is what you are willing to put into it, it’s worth it if you work hard enough to make it a reality.
9/6/2017 4:15:52 AM

Best Diwali wishes 2017
Wow, Nice collection of web site performance optimization...I have also collects UNIQUE, Fresh and Best Diwali wishes 2017 ....Please have a look
9/5/2017 9:26:35 AM

Nicholas Mak SLP
I am truly getting a charge out of perusing your elegantly composed articles. It would seem that you spend a considerable measure of exertion and time on your blog. I have bookmarked it and I am anticipating perusing new articles. Keep doing awesome.
9/5/2017 5:13:59 AM

advertising agency
Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
9/3/2017 11:01:02 AM

BlackWolf Workout
ma khak aspa hoi haya kormo sar
8/30/2017 12:38:45 PM

Best nootropics
hamo lolur kicha
8/30/2017 12:35:22 PM

Volume Pills
bo jam ishnari
8/30/2017 12:33:32 PM

Zetaclear
zetaclear pongo dughuran bachy bo jam dawai
8/30/2017 12:30:48 PM

dianabol
i like it nice
8/30/2017 12:21:49 PM

Phenq
bo jam post la ma xan
8/30/2017 12:18:47 PM

legal steroids
bo chust post mo kicha kom naa
8/30/2017 11:24:24 AM

ajiajith7444
Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
8/28/2017 11:07:41 AM

ajiajith7444
Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
8/28/2017 11:06:03 AM

best ant killer
I am always searching online for articles that can help me. There is obviously a lot to know about this. I think you made some good points in Features also. Keep working, great job !
8/26/2017 12:06:46 PM

ico list
A good blog always comes-up with new and exciting information and while reading I have feel that this blog is really have all those quality that qualify a blog to be a one.
8/25/2017 6:16:15 AM

Gokulprasad nagarajan
ROBERT
Link exchange is nothing else but it is just placing the other persons weblog link on your page at proper place and other person will also do similar in support of you.
8/18/2017 11:49:56 AM

Petey CriserPetey Criser
Travel stream is all about adapting to advances in technology, utilising them throughout the travel booking and research phases, and mixing that with the traditional
8/16/2017 11:55:04 AM

vigrx plus
Vigrx Review: Before you buy Vigrx Plus find out first how it compares to other male enhancement supplements.
8/16/2017 7:28:06 AM

voyance pas cher
Actually I read it yesterday but I had some thoughts about it and today I wanted to read it again because it is very well written.
8/11/2017 11:11:26 AM

Star Lord
Good step you have written of writing content relating to cooperate sense. Better yet good working skills and hope you write more of this soon.
8/8/2017 11:42:28 AM

Miela Jonsephenq review
This PhenQ review looks at this brand new fat burning supplement. Is it effective? Is it safe? What are the side effects? Is it the best fat burner?
7/20/2017 8:43:20 AM

His Secret Obsession
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free.
6/18/2017 8:11:09 PM

Dirty questions to ask a girl
Thumbs up guys your doing a really good job.
6/18/2017 4:34:06 PM

Words Doctorate
the blog is very interesting and will be much useful for us. i really enjoyed very much with this article here. Really its a amazing article that i had ever read.
6/6/2017 11:20:16 AM

Dirty questions to ask a girl
Great post i must say and thanks for the information. Education is definitely a sticky subject. However, is still among the leading topics of our time. I appreciate your post and look forward to more.
5/29/2017 10:13:27 AM

Memorial Day in 2017
I’ve been searching for some decent stuff on the subject and haven't had any luck up until this point, You just got a new biggest fan!..
5/29/2017 8:01:30 AM

13 Zodiac Signs
I would like to thank you for the efforts you have made in writing this article. I am hoping the same best work from you in the future as well.
5/28/2017 7:59:37 PM

vlc media player windows 10
This open source, the cross-platform multimedia player plays most files and helps in major streaming protocols
5/27/2017 11:38:44 AM

extreme weight loss
I like the many blogposts, I seriously liked, I want details about it, since it is rather wonderful., Cheers pertaining to expressing
5/24/2017 9:06:22 AM

quick weight loss
Absolutely, you were best suited dealing feel authentic at the covers only to find they land up in no way presenting nearly as good a good quality like they promise.
5/24/2017 8:15:13 AM

hot sale replica watches
Out of work, party, you may need a watch to reflect your temperament and vision,

to show you different from the general taste and vision. Here to meet your needs.

thank.
5/20/2017 3:28:58 AM

budtender
we will work as an inseparable unit to decide the best learning solution(s) for your business and basically turn into an augmentation of your Information Technology (IT) and Human Resource (HR) Teams, plan a showing to talk about a custom preparing arrangement.
5/6/2017 9:25:57 AM

Bet Crazy
Extremely helpful post. This is my first time i visit here. I discovered such a large number of fascinating stuff in your blog particularly its talk. Truly its extraordinary article. Keep it up.
5/5/2017 1:18:13 PM

visit my site
The following appears to be like unquestionably fantastic. Almost all these minor points are built by using number of foundation awareness. I enjoy them considerably.
5/4/2017 9:53:39 AM

gratuite
I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.
5/3/2017 11:18:26 AM

schoolsenterprise.co.uk
We believe that education is the key to tackling youth unemployment and poverty worldwide.
5/3/2017 7:49:08 AM

schoolsenterprise.co.uk
This is an astounding post I seen because of offer it. It is truly what I needed to see trust in future you will proceed in sharing such a great post.
5/3/2017 3:10:18 AM

This is an astounding post I seen because of offer it. It is truly what I needed to see trust in future you will proceed in sharing such a great post.
This is an astounding post I seen because of offer it. It is truly what I needed to see trust in future you will proceed in sharing such a great post.
5/3/2017 3:08:49 AM

coolpicking.com
I have to search sites with relevant information on given topic and provide them to teacher our opinion and the article
5/1/2017 8:56:16 AM

EasyFreeFollowers.com
Always article that are worth for reading.
4/28/2017 8:13:26 AM

computer recycling
Thanks For sharing this Superb article.I use this Article to show my assignment in college.it is useful For me Great Work.
4/10/2017 3:29:15 PM

Captain America Nick Fury Coat
There are many advantages and elements accessible for page sorts, those are not accessible for different items: work process, security, confinement, same page sort put away it in various areas, and so on.
3/24/2017 1:07:11 PM

Comic Con Jacket
Great article! caching the data is definitely best for good performance but it also takes space and if I won't delete this, it might cause the lack of storage.
3/22/2017 5:53:17 AM

Michael
Really wonderful information can be found on web blog.
1/17/2017 7:59:49 PM

John
This is one awesome blog post. Keep writing.
1/17/2017 9:26:35 AM

Robert
Link exchange is nothing else but it is just placing the other persons weblog link on your page at proper place and other person will also do similar in support of you.
10/18/2016 6:41:37 AM

 Security code