Real World Examples – Part II

  • Upload
    hedva

  • View
    34

  • Download
    1

Embed Size (px)

DESCRIPTION

Real World Examples – Part II. 7 /26/2013 Miro Remias, Sr. Solution Architect. WWW – World Wide WAIT. My web site is slow . How can I improve the performance? . DISABLE FEATURES. OPTIMIZE CUSTOM CODE. GET BETTER HW. SETUP CACHING. MOVE TO CLOUD. REDESIGN THE IMPLEMENTATION. Agenda. - PowerPoint PPT Presentation

Citation preview

Kentico CMS Debugs

Real World Examples Part II7/26/2013Miro Remias, Sr. Solution Architect

1WWW World Wide WAITMy web site is slow. How can I improve the performance? SETUP CACHINGOPTIMIZE CUSTOM CODEREDESIGN THE IMPLEMENTATIONGET BETTER HWMOVE TO CLOUDDISABLE FEATURES2AgendaSCENARIO I: Handling redirects in KenticoURL managementIIS vs. Application & PerformanceSCENARIO II: Cookie-less domain(s)SCENARIO III: Implementing CDN in KenticoPull vs. Push CDN typeCustom Storage Provider vs. Output filter3SCENARIO I4Handling redirects in Kentico - I

Visitor(s)I WANT this page (/MyCampaign)Your page is somewhere else (/Home)KenticoI WANT this page (/Home)Here is HTML code of /Home page

Web server(s)IIS

DBBrowserPerformance of redirect on application levelSolution(s)?Dont use redirectWhat is the SEO impact of having duplicate content?Solution? CANONICAL linksRedirect sooner, on IIS?URL Rewrite moduleWhat if I have hundreds / thousands of URL aliases?WE NEED URL management!12125Handling redirects in Kentico - II

KenticoWeb server(s)IIS

DBURL Rewrite module Kentico as URL management tool

CUTOM scheduled task (**)

Rewrite rule Rewrite MAP

Custom table (***)

Document Alias12A.) Static URL (/MyCampaign)Redirect (301 vs. 302)DO NOT redirectSEO: canonical linkMVC or .NET ROUTEB.) Wildcard URL (/MyDeailPage/{id})Redirect (301 vs. 302)DO NOT redirectSEO: canonical linkMVC or .NET ROUTE

3(*)(*) - Any change to rewrite rule file or rewrite map requires application restart to take affect.(**) - Can be replaced with global event handler(s), but does not make much sense because of (*).(***) - Suitable in cases you have list of OLD URLs or migrating existing web site to Kentico.

Editor(s)6What abouthttps redirects?domain redirects?extension redirects?letter case redirects?Question?7

Handling redirects in Kentico - IIIKenticoWeb server(s)IIS

NO REDIRECT CANONICAL LINK(s) SEO (*)Current URL (/MyHome) is alias of main URL (/Home)

/MyHome/MyHome

Visitor(s)Browser

Rewrite rule Rewrite MAP

CL: /Home1(*) - According to Google, the canonical link element is not considered to be a directive, but a hint that the web crawler will "honor strongly, but search engine prefers the use of 301 redirects they can choose to ignore a canonical link.8Handling redirects in Kentico - EXTRAWHAT about replacing hard-coded LINKs / URLs?

CUSTOM SEARCH & REPLACE MODULE

9SCENARIO II10Cookie-less domain - I

11Cookie-less domain - IIKenticoWeb server(s)IIS

RENDERING static resources with CUSTOM cookie-less DOMAINOutput Filterdmn.com/Home

Visitor(s)Browser

Rewrite rule Rewrite MAP

Custom table1

DB

2HTML+HTML+?static?.dmn.com/img1static?.dmn.com/img2static?.dmn.com/img3

12

Cookie-less domain - IIIKenticoWeb server(s)IIS

SETTING cookies to NULL for static domainRESPONSE HANDLERstatic.dmn.com/img1

Visitor(s)Browser

Rewrite rule Rewrite MAP

Custom table

DB

2HTML+static.dmn.com/img1

CUTOM scheduled task (*)(*) - Rule to redirect user from static domain (e.g. static.domain.com) to main domain in case .NET resources are requested (default.aspx).1. . .Client cache(*)RESOURCE13SCENARIO III14Implementing CDN in Kentico - I

NOTE: Average web page contains around 50 resources!15Implementing CDN in Kentico - II

CDN Types

PUSHAMAZON S3WINDOWS AZURECUSTOM STORAGE PROVIDER ?(ORIGIN) PULLHOW to?

16Implementing CDN in Kentico III

HTML+cdn.dmn.com/img1cdn.dmn.com/img2cdn.dmn.com/img3

Visitor(s)BrowserKentico

(ORIGIN) PULL CDN

dmn.com/ProductsCACHE1. . .17The NEXT scenario? Share your story with us [email protected]

ContactMiro RemiasE-mail: [email protected]: http://www.kentico.com/Support/Consulting/Overview