We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [caching]

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

Filter by
Sorted by
Tagged with
-1
votes
1answer
34 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
41 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
64 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
35 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
96 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
34 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
26 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 ...
1
vote
0answers
29 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
218 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/...
1
vote
1answer
142 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
51 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
125 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
32 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
116 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
99 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
82 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
78 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
159 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
133 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
256 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
177 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
102 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
140 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
260 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
227 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 ...
2
votes
1answer
269 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
953 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
39 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
217 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
452 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
169 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
241 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
115 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
384 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
211 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
63 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
377 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
663 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
392 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?
3
votes
1answer
567 views

Sitecore Publishing Service clearing cache

I have cached some items using the .Net MemoryCache. I would like to clear that cache on publish. Previously I would hook into the publish item and especially the publish item remote events. How do ...
1
vote
2answers
177 views

Should clearing the Sitecore cache automatically logout users?

We are working on website which was migrated from version 7.2 to 8.2 through the Express Migration tool. In the application a service is configured to clear the cache. When the service runs, the cache ...
2
votes
1answer
50 views

Does Sitecore cache overlap?

As I understand, Sitecore tries to find if an item is available in the cache. If it's found in that level, it will return without proceeding further, in the following order : Item Cache => Data ...
3
votes
2answers
334 views

When does prefetch cache get re-populated after publishing?

I'm currently running Sitecore with separated CM and CD servers/DBs. I'm aware that prefetch cache get re-polulated when server restart. This Sitecore documentation state that https://sdn.sitecore....
2
votes
1answer
325 views

Cache issue on component renderings

Cache from Site settings is already set, but on Renderings level, the cache is enabled. which shows the same content of the component on the page it cached. For example: There are 3 promos on the ...
1
vote
1answer
637 views

Issue with Sitecore HTML Caching

I am currently investigating issue related to Sitecore Caching. I have a controller with action filter attribute set for setting up the cookies, whenever any action of controller is called. The ...
1
vote
1answer
354 views

What can cause Sitecore web[data] cache to not be evicted on publish

I have a strange problem with my distributed CM/CD Sitecore 8.2 environment. Certain items and their children are published programmatically on a schedule after an automated update process. The ...
0
votes
1answer
57 views

Coveo security cache update timing

Is there any detriment to increasing the frequency of Coveo updating the security cache (the on-prem edition)? I noticed it's set to do it nightly at midnight, but if new users register during the day ...
7
votes
1answer
424 views

Deleting the media cache folder resets app pool

We are having an issue with the app pool resetting in IIS after a media cache folder deletion. This only happens when we have a lot of images (~20 GBs) cached. Everything I've read says that deleting ...
1
vote
1answer
394 views

Glass Mapper not caching a SitecoreContext.GetItem<IThing> request

Base class for a service providing data for an API controller on a 8.2 update-4 instance. Code's context is the web database and it's a simple case of using content search to find an item based on a ...
0
votes
1answer
178 views

Why are templates added by default to the web database prefetch cache?

Standard out of the box Sitecore has prefetch cache settings to read in templates, template sections and template fields. What is the purpose of this, given that the actual items based on the ...