Best Practices
General > Best Practices > Performance / SEO considerations of using Getfile/Getmedia View modes: 
User avatar
Member
Member
Redactuk - 1/22/2010 11:04:48 AM
   
Performance / SEO considerations of using Getfile/Getmedia
Hey Guys

Not sure if this is really the right section, but wanted to know what everyone's opinion is on the benefits or issues of using the default Kentico getfile method to link site content versus standard URL paths?

I understand the MAIN benefit of using getfile is that a document can then be moved without needing to update any links to it, but I have to say I do have some concerns as to how the performance of these links compares to using fulle path URLs.

On the Kentico site I develop and manage I recently switched from using getfile/getmedia in ONE section of my site to linking with standard paths, and I can't help thinking that the page load times are faster. I've not actually done any testing, but can anyone comment on this?

My other concern, is regarding SEO. I know there is some debate about the importance of keywords in URLs, but certainly where pages on a site are referenced externally I believe keywords in the full path can play a part. Obviously using getfile/getmedia encoded URLS hides keywords at other levels.

I would welcome comments on this from you guys at Kentico also.

Many thanks

User avatar
Member
Member
Redactuk - 1/22/2010 11:07:29 AM
   
RE:Performance / SEO considerations of using Getfile/Getmedia
Oops. Mods can you please move this topic to Best Practises? seems better place for it.

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 1/26/2010 3:35:27 AM
   
RE:Performance / SEO considerations of using Getfile/Getmedia
Hello,

I would recommend you to see this blog post by our CTO about files and images performance:
Optimization tip: Speed up your images and files

The fastest loading is for media library files when you do not check the permissions and use the direct physical URLs.

The SEO is better for standard paths as you said but this way does not handle the situation when you move the document. You need to re-write the URLs manually in this case. Every approach has pros and cons and you can choose the option according your needs.

Best regards,
Helena Grulichova