trint.ladd@altn.com
-
2/7/2012 3:10:06 PM
Performance concern for files on disk. Physical path vs. Alias path
To optimize our site's performance, we have chosen to store files on the file system and not in the database. After some experimentation, I see that files uploaded via the CMS are stored all together with file names changed to GUIDs from the database. It would seem that the files are somehow accessed by digging the alias path out of the database rather than accessing the file system directly.
Has anyone tested the performance difference between access via alias path and database versus direct file system?
Using paths and file names generated by DB GUIDs and renaming files makes my job really tough as far as tracking down possible problems in the file system.
Is there any setting or configuration to store files physically as they appear in the document tree? In other words, /MyFilePath/MyFile.pdf is actually stored at that location and with that name?
I know I could alter the CMS code, but I'm concerned about what affect that would have on later Kentico upgrades.
Thanks, Trint
|