home writing speaking about contact rss
back to overview
· 4 min read · #Optimization

Tips and Tricks: Building Highly Scalable Websites

15 tips for optimizing your websites performance

15 tips for optimizing your websites performance

A couple of weeks ago, at the Kentico Connection 2011 in Prague, I presented: "Building Highly Scalable Websites". The presentation outline was as follows:

"In this session, you will see how to build highly scalable websites and how to improve the performance of your website. You will also learn new features of Kentico CMS 6, like: Health Monitoring and External Services."

This post covers the best practises that I demonstrated during my talk.

teacher.jpg


Tip 1: Setup is key, pick your components carefully!
Next, Next, Next simply doesn't cut it. 



Additional references:

1. Creating a "real" blank site  


Tip 2: Page order counts!
02_page_order.png

Additional references:
1. Best Practices for Speeding Up Your Web Site


Tip 3: Minify!
Size does matter… 03_settings_resouce_compression.png
 

Tip 4: Resource compression 04_gzip_settings.png

Additional references:
1. How To Optimize Your Site With GZIP Compression
2. Configuring HTTP Compression in IIS 7


Tip 5: Disable the view state (carefully)
/wEPDwUKLTU2MjkyNjQyN2QYAQUeX19Db250cm9sc1JlcXVpcmVQb3N0QmFja0tle…


Tip 6: SELECT ##COLUMNS## FROM ???
Think it through 06_setting_files.png

Additional references:
1. Kentico Document Types vs. Custom Tables


Tip 7: Cache me if you can!

07_cache_settings.png

Additional references:
1. Deep dive: Cache dependencies
2. Caching in with Kentico


Tip 8: Master of the Universal Viewer 08_universal_viewer.png

Additional references:
1. Hierarchical viewers and transformations


Tip 9: Find and fix issues using the built-in debugging options!
No Visual Studio required! 09_settings_debugging.png


Tip 10: Event log
Do you really know what's going on? 10_event_log.png


Tip 11: Find the right balance
Scale up, scale down, configure it all around. Scale in, scale out, that's what i'm talking about! 11_smtp_servers.png


Tip 12: External services
Time to get out of the pool 12_scheduled_task_properties.png


Tip 13: Monitor the health and performance of your websites
Is there a doctor available?

perfmon.png

Additional references:

1. Real-time performance monitoring of your websites
2. Health monitoring overview
 

Tip 14: Try to keep up!



 

Tip 15: Know the guides! 15_developers_guide.png

Additional references:
1. Kentico CMS 6,0 Developer´s Guide
2. Optimization tip: Write better code, disable Output filter
3. Even More Ways of Maximizing Kentico Site Performance (Part 1 - Images and Media)
4. Even More Ways of Maximizing Kentico Site Performance (Part 2 - Improve 304 Responses)
5. How to speed up your Kentico site
6. Kentico CMS High Availability & Scalability – Introduction
7. Kentico CMS High Availability & Scalability – Backup & Restore
8. Optimization tip: Speed up your images and files