Questions tagged [caching]

Questions about all possible caching mechanisms in Sitecore, Sitecore projects or Sitecore related modules

Filter by
Sorted by
Tagged with
0
votes
1answer
20 views

Sitecore caching warning error in 9.1.1 [closed]

Getting below error in logs. WebUtil.QueryStringCache cache is cleared by Sitecore.Caching.Generics.Cache`1+DefaultScavengeStrategy[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, ...
1
vote
2answers
49 views

What is the benefit of the Item and Data caches?

I can understand that the Prefetch cache is very useful for caching items in the database - thereby reducing reads to the SQL server. I can also understand the HTML cache is useful for caching the end ...
0
votes
0answers
21 views

How are the Item and Data caches cleared?

I can see a good explanation about how the prefetch cache works, and a good explanation of the different Sitecore caches and how they get populated. How do the Item and Data caches get cleared? I'm ...
0
votes
0answers
24 views

Detect when Sitecore automatically clears a custom cache

I'm trying to trigger something in the event that Sitecore clears one of my custom caches (implementing Sitecore.Caching.CustomCache) when it gets full. I can monitor the cache size compared to its ...
0
votes
0answers
27 views

Clear cache for wildcard page

How would I approach clearing the cache in the scenario where I have a wildcard page in my site e.g. /sitecore/content/MySite/Home/Products/* which references another section of the content tree ...
0
votes
1answer
42 views

Implement ICacheable or use the abstract CustomCache

We wish to make use of Sitecores customcache. However, we are in doubt whether we need to implement ICacheable or whether its enough to make use of the abstract CustomCache class. This is for Sitecore ...
0
votes
1answer
85 views

Rendering is Cached

I am using Sitecore 9.3 and I have a .cshtml updated but the update is not reflected on CD server although the physical file is updated. I do iisreset and publish for the site to clear any cache but ...
1
vote
0answers
35 views

Configuring static resource caching with IIS cache based on domain

We came across a problem with regards to the IIS cache that is not taking the domain into consideration. We have the following scenario: Request page X from domain A.be Page X requests a static ...
0
votes
0answers
71 views

Component's personalization rule applies only once

In our solution we're using custom personalization rule to show/hide components based on some criteria. This rule works fine but only for the first time the user visits the page after it's published ...
0
votes
1answer
64 views

Custom Caching option not showing up on the rendering

I have added the custom cache option (vary by URL) in the template /sitecore/templates/System/Layout/Sections/Caching/Caching. To add the above option I followed the blog post: http://www....
3
votes
2answers
436 views

Html cache clear error after upgrade Sitecore from 9.0.2 to 9.3

I am trying to upgrade my application from Sitecore 9.0.2 to 9.3. In my sitecore.config file, I have below setting : <event name="publish:end"> <handler type="Sitecore.Publishing....
0
votes
1answer
199 views

Performance Issue JSS+React

I'm having a performance issue, the loading speed is quite long. I also noticed that when I first load the page, there is some plain text showing while loading before the page completely loaded and ...
0
votes
0answers
72 views

Media cache issue after adding version to the query string as part of the cache bust mechanism on CDN

Background: Recently, we implemented CDN and as part of that version is added to the query string to bust the cache. After that, we started noticing an issue where a web page is loading a random image ...
2
votes
1answer
80 views

How to clear HtmlCache on a CD server from an admin page

How would I go about creating an admin page to clear the cache on a CD server? Looking at this question/answer I would assume the following: Define a new cache:clear custom event in a new config ...
5
votes
1answer
45 views

Can you add the same rendering to multiple SXA Cache Settings items

Is it supported to add the same rendering to two (or more) different cache settings items? Currently, there is no warning if you do so, but I'm unsure if this is a valid thing to do or not?
3
votes
1answer
136 views

How to implement Sitecore.Caching.CustomCache with locking

I'm trying to use (a derivative of) the Sitecore CustomCache class in my solution but am seeing that during the course of my load testing, certain values are not being retrieved from the cache and are ...
1
vote
1answer
44 views

Caching HTML for rendering based on “page” item data, not datasource

I have a couple of controller renderings where the data loaded is from several Sitecore items including the "page" itself, and the Rendering datasource is not actually set on the Rendering. How can I ...
0
votes
0answers
48 views

Can smart publish be configured to clear HTML Cache for a page when it's child page has been published?

Smart Publish appears to clean out HTMLCache selectively, essentially only for the items that have been published rather than fully clearing out the HTML cache. I have several pages whose content is ...
2
votes
0answers
37 views

If you add a rendering to a SXA cache settings item will it break personalization

As the title says. If you enable caching for a rendering in SXA using a CacheSetting item e.g. under /sitecore/content/My Client/EMEA/My Website/Presentation/Cache Settings Will this prevent ...
5
votes
2answers
640 views

SXA differences between Partial Design and Metadata Partial Design

I notice that with SXA there are two types of partial design: Partial Design /sitecore/templates/Foundation/Experience Accelerator/Presentation/Partial Design Metadata Partial Design /sitecore/...
2
votes
1answer
423 views

Redis Cache Shared Session Configuration

I'm trying to configure Redis cache session storage for my CD environments. I'm following this document -> https://doc.sitecore.com/developers/90/platform-administration-and-architecture/en/...
0
votes
0answers
81 views

Sitecore Content delivery warmup/preload views

What is a good practice to speed up your CDs initial load times? I am using Sitecore 9.0 update 3. When I call a view/page the first time after deployment it's taking some time to load the page. So ...
2
votes
1answer
448 views

Publishing Service not updating Content Delivery after publish

I've installed the Publishing Service on my Sitecore 9.0 Update-2 environment with dedicated CM und CD server. The publishing process seems to work. So when I publish an item on my CM I can look into ...
0
votes
1answer
39 views

How to inspect HTML cache content/size on a per URL basis

Is there any way to inspect the cache content (keys, value sizes in bytes) for the HTML cache of a site? Ideally, I would like to be able to see a table with the columns URL/CacheKey Size (Bytes) ...
4
votes
1answer
244 views

Any Recommendations For Disabling AccessResultCache on CD?

I'm considering disabling AccessResultCache on our CD environment based on these instructions - https://sitecorebasics.wordpress.com/2013/01/24/do-you-really-need-accessresultcache-on-cd-servers-if-no-...
1
vote
1answer
196 views

OutputCache with a Sitecore controller

Using Sitecore 9.0.2, I've got code in two areas: SitecoreComponent (for controller renderings) and API (for JS calls). I've got a controller that inherits from SitecoreController in the API folder ...
0
votes
1answer
108 views

Standard Values Getting Cached

I am using Sitecore 9.1. in the content editor I change the standard value on a template. I go to the actual content item. I try and reset the value of a field to the standard value. I open the Reset ...
-1
votes
1answer
181 views

Cache cleared message every second in Azure Logs

We are trying to figure our an issue where our LIVE sites are getting down for 10 minutes everyday. While going through the Azure logs I am getting the following Warning: WARN web[standardValues] ...
3
votes
1answer
268 views

Cache not being cleared when changing partial design

I have a component that is cacheable within a placeholder where another component is placed, which is an SXA component. When I try to remove the SXA component inside the placeholder, the cache doesn't ...
0
votes
1answer
353 views

Clear individual Rendering/Component Html cache

We have extended HtmlCacheClearer in our solution. We are able to clear site cache using CacheManager.GetHtmlCache(site).Clear(). We wanted to clear individual Rendering/Component cache. How can we ...
2
votes
2answers
376 views

Which cache should be cleared after publish?

I have 2 CD and 2 CM servers. Whenever I add version and publish it, on the frontend only showing the previous versions except I recycle pool on all CD servers or I implement Clear all cache on each ...
1
vote
0answers
240 views

Why is Prefetch data(master) cleared by DefaultScavengeStrategy?

In CM logs I occasionally see Prefetch data(master) cleared by DefaultScavengeStrategy: 7744 20:32:18 WARN SqlDataProvider - Prefetch data(master) cache is cleared by Sitecore.Caching.Generics....
2
votes
1answer
129 views

Caching without Vary By option?

When selecting a component's Cacheability, the Vary By options control the cache key. What happens if I cache a rendering but do not specify a Vary By option? Also- does Sitecore generate a ...
1
vote
1answer
227 views

Sitecore Publishing.DisableDatabaseCaches Setting On a Content Delivery (CD) Server

Does <setting name="Publishing.DisableDatabaseCaches" value="true"/> have any effect at all on a CD server? I understand that the CM, which is the publishing server, would be affected by this ...
1
vote
1answer
338 views

Opening Content Editor taking too long time to load

I have configured an environment for Sitecore XP 8.2.7 and it seems it is not somehow using cache properly when opening Content Editor since it takes just too long time for the initial loading. What ...
2
votes
1answer
344 views

Cannot add item to Sitecore cache

I am trying to create a new Sitecore 9.0.1 XP cache and add an item to it. I can create the cache just fine. When I call the Add method it executes just fine but nothing is added to the cache. I ...
3
votes
1answer
445 views

Cache-control header shows private always

According to Sitecore config, if we set DisableBrowserCaching to true, then the Cache-control header value would change to no-cache, no-store. In my case, this is not happening and it always shows ...
4
votes
3answers
1k views

Cache not clearing on publish

I have a Sitecore instance running on 8.1 rev. 151207 on a scaled environment with one CM and 2 CDs. I have been noticing that every time I publish content in a specific language(chinese) which has a ...
2
votes
1answer
45 views

CacheSizes node vs cache settings in site definition

I'm setting up a bunch of site definitions for my project. I know I need to add them all to the publish:end and publish:end:remote events to clear caching. But when it comes to the entries in <...
3
votes
1answer
228 views

When publish dialog says publish has finished, does that mean indexing has also finished as well?

When Sitecore indicates that publishing has finished (via normal publish dialog) does this mean that subsequent indexing will also have finished, or does the dialog only report on publish status?
2
votes
1answer
523 views

How to set Rules Cache Size

According to the cachetuner, I should extend my "rules" cache. (By default it is 800KB) Does anybody now which setting in sitecore config I should adapt in order to achieve this?
0
votes
2answers
285 views

Sitecore Clean Up Agent not running

Is there a way to determine when the Sitecore cache Clean Up Agent runs? Also, can somoene provide instructions on how to enable the Sitecore Clean Up Agent. Sitecore does not provide instructions. ...
-2
votes
1answer
297 views

Sitecore Custom Cache Size

I created sitecore custom cache. the cache is showing up in the cache.aspx page ( sitecore/admin/cache.aspx) but showing the size as zero. but when i put log in code i am seeing the data saved in ...
3
votes
0answers
165 views

How to set Media Cache Folder per site?

Context In my Sitecore (8.2.u7) instance I have 2 websites that share the same images. For this reason, I have setup Media.MediaLinkServerUrl e.g. cdn.mysite.com. This will also help me to integrate ...
5
votes
1answer
472 views

How to share Sitecore caches (item, data, prefetch,etc NOT session state) on Azure PaaS between Web Apps

I can't find any docs on this so I assume it's not possible, but... If you run Sitecore in Azure PaaS and have scale-out enabled (e.g. you're running 2x S3 instances) then can you have a shared/...
1
vote
1answer
280 views

Browser caching not working [duplicate]

I have implemented the browser caching on the Sitecore item as follows. public class BrowserCaching : HttpRequestProcessor { public override void Process(HttpRequestArgs args) { ...
1
vote
0answers
71 views

SXA 1.5 htmlCache not working

On a brand new Sitecore 8.2.5 + SXA 1.5 on Azure, deployed from the Sitecore templates, I cannot make the htmlCache working. The [html] cache stays empty. Has anyone encountered the same?
11
votes
1answer
512 views

Which SXA components should be cached for minimal setup?

I'm reviewing the cache settings available in SXA found here. There are many components that are available for caching, but I'm not clear whether any should not be cached. In an effort to start ...
2
votes
1answer
864 views

I deleted a page, but it still appears on the site. How can I delete this page?

Through Content Editor I deleted a page, after that, I published the folder where it was contained. But even deleted the page keeps appearing on the site and I do not know how to remove. The strange ...
4
votes
1answer
454 views

How to refresh prefetch cache?

How prefetch cache update its cached item, If I change the content of Sitecore item? And also other ways of prefetch cache refreshing?