ASPX templates
Version 4.x > ASPX templates > CacheDependencies View modes: 
User avatar
Member
Member
kentico-eg-consulting - 6/12/2009 4:54:16 AM
   
CacheDependencies
I was wondering how the CacheDependencies property works on a user control and in particularly using the JavaScript Web Part

Am I right in thinking that if I have something like

<uc2:javascript ID="javascript1" runat="server" LinkedFile="~/CMSTemplates/Website/Scripts/myScript.js"
CacheDependencies="~/CMSTemplates/Website/Scripts/myScript.js" />


Then the file will be cached until that file changes on the disk?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/24/2009 8:50:14 AM
   
RE:CacheDependencies
Hi,

I am sorry but the files caching is not supported at this moment. We are caching only data in memory. For more details please see this blog post.

Best Regards,
Juraj Ondrus