Questions tagged [caching]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
438 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 ...
1
vote
1answer
503 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 ...
3
votes
1answer
518 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
933 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 ...
5
votes
4answers
2k 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 ...
3
votes
1answer
61 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
236 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
598 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
549 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
339 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
249 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
587 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
444 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
84 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
656 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 simple:...
2
votes
1answer
1k 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
561 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
935 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
388 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
65 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
411 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
693 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
804 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
531 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
69 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
654 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
644 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
211 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 ...
9
votes
2answers
5k views

Sitecore Html Caching Strategy

If I can set a rendering cache to Vary By Data, meaning the cache will vary for a given component with a different data source set, why am I not just setting every component to be Cacheable with Vary ...
7
votes
1answer
3k views

How can I determine if I can set Caching.AccessResultCacheSize to 0?

After upgrading to Sitecore 8.2 Update-5 recently I was looking in our CD server's logs and noticed a large number of warnings around the AccessResultCache: 7792 14:52:05 WARN AccessResultCache ...
3
votes
2answers
733 views

How can we retrieve the data in the Sitecore HTML Cache?

We are creating a report page where we will display the cached data source / presentation . A button will be there to remove selected cached item. Which Sitecore Api can we use to retrieve the list ...
4
votes
1answer
247 views

Glass Cast Failing With Infer Type True On Second Call

I'm using SitecoreContext.Cast(item, true, true) to map an item. It looks like elsewhere in the code, the same item has been casted to BaseType WITHOUT inferType = true before I make that call. When I ...
9
votes
2answers
947 views

Optimal HTML cache size?

I am trying to determine the optimal size for the htmlCacheSize on a website in Sitecore. We're assembling a website that will be ~1500 pages in 13 languages. Initial tests show that the current "en"...
8
votes
1answer
1k views

How to disable caching for specific items in the Media Library?

Is it possible to disable caching at an item level in the media library? We have specific PDF files that are updated every week, but it's simply not feasible to create a new item in the media library ...
2
votes
0answers
40 views

Caching in Sitecore Mobile SDK for Xamarin

I'm aware of the caching in Sitecore when using it as a website but how about caching in Sitecore Mobile SDK? Is there a caching to consider when using the service? I'm using the Sitecore Mobile SDK (...
1
vote
1answer
353 views

Setting the Page Cache headers in the mvc.getPageRendering Pipeline

I need to patch in a fix for a bug with Sitecore MVC Caching (confirmed by support). The pipeline I need to patch into is: I need to set cache settings on the page object, e.g: page.Response.Cache....
3
votes
2answers
1k views

Considerations for Caching Sitecore Content Pages (HTML markup)

I've read the documentation regarding caching and also a number of posts on SSE and I'm trying to understand if there is anything else to consider other than the following when enabling caching for a ...
1
vote
1answer
226 views

When do etags update on Media Items?

I've carried out some testing with etags (used to determine if content has changed since a browser last requested it: https://sdn.sitecore.net/upload/sitecore6/sc62keywords/...
9
votes
4answers
4k views

Forcing Sitecore to clear the cache for updated images

I am aware there are a number of Cache settings for media library items in Sitecore (as described here: Sitecore Implementation - HTML Cache Control Setting options). However the MediaResponse....
1
vote
1answer
1k views

Caching issue for JS/CSS in Media Library node

We have one caching issues on live site. Actually we keep JS/CSS files in sitecore media library so after every prod deployment when we publish updates JS file we have to press Ctrl+F5 to load latest ...
8
votes
2answers
3k views

Log file warning about caching and DefaultScavengeStrategy

I see a ton of these warnings in my Sitecore log file, using 8.2 Update 3: 5304 01:57:06 WARN web[isLanguageFallbackValid] cache is cleared by Sitecore.Caching.Generics.Cache`1+...
4
votes
2answers
162 views

What is the Sitecore.Caching.CachePriority enum type used for?

I am struggling to figure out what the Sitecore.Caching.CachePriority enum type is used for. The type looks somewhat similar to .NET's System.Web.Caching.CacheItemPriority type, however, the values ...
4
votes
1answer
542 views

Caches not evicting until application fails despite high memory usage

I have a solution that I have been running gradually incrementing load-tests on (i.e. I am using jmeter to create some load but I'm incrementing the load slowly, rather than all at once) until CPU and ...
6
votes
2answers
6k views

How do i clear the cache of the item after publishing

Hi On Save event i am publishing the changes to another database (another environment). Please refer Below link AutoPublishing doesn't work on Rename & Copy How do i clear those published ...
5
votes
1answer
435 views

Glass Mapper language caching

Ran into an odd caching issue with glass mapper (v. 4.2.1.188). We have 2 languages in our site (Chinese and English). Here's the scenario (could replicate after every iisreset): Load the page in ...
5
votes
1answer
131 views

Sitecore Debug Tool Question

What is the difference between physical read and cache miss and how are these calculated in the Sitecore Debug tool?
4
votes
2answers
932 views

Caching of static components

What options do I have for caching statically added components that render the top menu of the site. It should always highlight the selected section the visitor is currently visiting in the top right ...
3
votes
4answers
584 views

Creating a very large footer menu efficiently

I have a scenario where each page of a site has a checkbox for "is in header" and "is in footer". The universe of items that needs to be traversed is a couple of hundred in nature, and I'm looking for ...
8
votes
1answer
14k views

How to configure caching for static resources in Sitecore

How can I enable caching for static resources such as CSS and JavaScript files in a Sitecore solution? I need these resources to have the following response header present: Cache-Control:public, max-...
0
votes
1answer
421 views

How to provide default values for custom parameters with the Sitecore Media Cache

I have a custom pipeline processor that is patched in before the ResizeProcessor in the getMediaStream pipeline. When I request an image from sitecore that has no query parameters, such as site/-/...