Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6579471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:54:08+00:00 2026-05-25T15:54:08+00:00

How do I use the partial dependency caching in Kentico CMS? Here’s a very

  • 0

How do I use the partial dependency caching in Kentico CMS?

Here’s a very common example need I have but can’t figure how to set up partial caching with dependencies correctly (in Portal mode, though I think this should apply to the other development modes too):

  • /Home (with a Repeater)
  • /News
    • Item 1 (so path = /News/Item-1)
    • Item 2 (so path = /News/Item-2)

The Home page has a Repeater web part that lists the most recent news items. It has a Path of “/%” and Document Types filter set to “CMS.News”; obviously also a “Partial cache minutes” value > 0. There is no custom code; just Portal web parts and standard document types.

What is the exact “Partial cache dependencies” string I should use so that when a third news item it is immediately reflected on the Home page, but otherwise uses the cache?

Kentico did release several blog posts including Deep dive: Cache dependencies, but I’m having difficulty applying the theory discussed there to a site. I even asked in comments there some questions, but the answers by the Kentico support there weren’t really helpful.

From what I could tell in that post, they said to use node|%CurrentSite.SiteName%}|/News|childnodes which seems to have some magic keywords like node and some macro elements like {%CurrentSite.SiteName%}. (I know that all items need to be lowercase, so already I know their advice isn’t real consistent. It should at least be node|%CurrentSite.SiteName%}|/news|childnodes instead. And do I need to force lowercase on the macros?) First of all, that string didn’t work for me–it was still caching the Home page Top News repeater (yes, full page caching was turned off); second, how do I build a string like that and debug what it should be? The linked post does have a grid of examples, but it is confusing (to me) and not exhaustive.

Can anyone provide a good example or better blog post reference anywhere that explains this in another way?

EDIT: I realized I asked this question fairly broadly. How about if we narrow it to just answer the question: How do I determine what settings to use to cache a repeater with a dependency to changes in another folder?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:54:09+00:00Added an answer on May 25, 2026 at 3:54 pm

    The magic words you mentioned in your post are basically the keywords for particular objects. You can see them listed in the caching options description – the “node”, “nodes”, “nodeid” are listed there as most common for working with nodes. But below then is described the syntax for any object, where you will use that object class name.

    Regarding the blog post from the Kentico’s CTO and his answers in the comments, it looks like he overlooked or misunderstood your question. you are talking about partial caching and he was giving you examples on the “normal” caching settings. Macros in the touch keys are resolved (lower case or upper case does not matter) in all other caching settings but not in the partial caching. This feature will be available in the upcoming version 6.0.

    So, right now you have to hard-code the site name in the touch key cache setting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I use partial page caching with ASP.NET. I find it to be particularly helpful
I've been reading over the internet about a partial method that I can use
Ok I have this problem I'm trying to use Jquery to load a partial
Can I extend or use partial classes to add more functions to EntityCollection< Class>
I use symfony 1.4.8 , and sfBBCodeParserPlugin It works , but I have problem
I was wondering if I could re-use a partial that generates html. I have
I have a partial that contains javascript #shared/monkey.js :javascript //javascript code here and I
I have a UserControl that I've added a Dependency Property to: public partial class
Im learning Mockito and in chapter 16 they say you should not use partial
In a rails application, in which situation would you use a partial and when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.