Questions tagged [caching]

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

Filter by
Sorted by
Tagged with
6
votes
3answers
4k views

How do I get to know the CD server Cache details

Sitecore Admin will not present in CD server, how to get to know the Cache limit and usage in CD server. In local environment, where CD and CM are available we'll use the below URL. http://[domain]/...
2
votes
1answer
3k views

Sitecore cache setting to cache the same component and datasource separately per instance

I have a component on my site called "Menu" along with a corresponding content item "MenuContent" which is used in the header and footer of each page. The rendering makes use of the placeholder path ...
0
votes
1answer
77 views

Facebook latest page content in the share dialog

Is there something out of the box to clear cache for Facebook share? I have to clear the browser cache for the share dialog to take the latest updated content. Is there something in Sitecore that ...
3
votes
1answer
329 views

Cache.aspx showing wrong Max sizes

On one of our projects (Sitecore 8.2 initial) we see something weird in the /sitecore/admin/cache.aspx page: As you can see the MaxSize value is a bit high. (Count, Size and Delta are not 0 ...
1
vote
2answers
725 views

Sitecore 8.1 caching issue in cluster enviroment

We have hosted Sitecore 8.1 website on two server node1 and node2 where request redirection is handled by Load balancer. While deployment we delete App_config, Assets and Areas folder and copy-paste/...
0
votes
1answer
196 views

Is DisableBrowserCaching tag being ignored / overwritten?

I am trying to disable cache for all Sitecore pages. I am able to do this through the code (through shared layouts) but I wanted to do it through just the config file. I came across many posts that ...
2
votes
3answers
382 views

When should the HtmlCacheClearAgent be enabled?

Html caches in Sitecore are cleared on publish however there is a HtmlCacheClearAgent which you can run to periodically clear the caches as well. This agent is disabled by default. When is it ...
6
votes
1answer
754 views

Warning: A rendering was not used on the page. The placeholder "xxxxxx" was not found

There is a Desktop Layout (Desktop.aspx) with several controls (Figure 1 and Figure 3). One of the controls called "Two Column Big Left" (TwoColumnBigLeft.ascx) has three placeholders (Inner Content ...
4
votes
1answer
2k views

How to Disable Cache for One Page

I have a detail page that takes a query-string argument called CID and uses that CID to get a record from a SQL database. The sitecore/site/cacheHtml attribute is set to true. We want to keep caching ...
3
votes
2answers
748 views

MediaResponse.Cacheability and DisableBrowserCaching

To achieve better performance of website, I have browsed some of the web sites and observed that by updating following settings in Sitecore.config we will achieve this. By doing following changes, ...
4
votes
1answer
556 views

How to clear Glass lambda cache?

We have an issue with resizing images where the old dimensions are getting cached--I think in Glass' lambda cache. I'm trying to figure out how to clear it once we update an image. The cached value ...
2
votes
2answers
1k views

Can we enable/disable caching at a page level in sitecore

I got a question from a client asking if we can enable/disable caching at a page level in Sitecore, I know we can do it for single renders/ but I couldn't find anything about enabling/disabling ...
7
votes
2answers
614 views

Redis Cache with Glass mapper interfaces in Sitecore 8.1 and above

I'm using Stackexchange.Redis for Redis cache on Azure with Glass mapper and Sitecore 8.1 - For Glass mapper implementation I'm using interfaces as models and maps configuration to get the data. Now ...
5
votes
1answer
4k views

Sitecore Implementation - HTML Cache Control Setting options

We are building a very transnational membership portal on sitecore platform. So Rendering output caching is not a good option for us. Per this htm-caching guideline (https://developers.google.com/web/...
10
votes
2answers
3k views

Clearing CD cache in code from the CM

I'm just mapping out some caching for a module which loads data from an external SQL database. I want to cache the results of methods for a configured amount of time but if the data is reimported on ...
6
votes
2answers
3k views

How can I know that the Html Cache on the CD is Cleared on Publish

I recently configured a CD and CM environment, where the CD's are isolated from the CM environment on their own machine. Is there a way to tell via the logs that the Html Cache has been cleared when ...
5
votes
1answer
2k views

What does the DisableBrowserCaching setting actually disable?

I have configured and tuned site caches many times, but I feel like I still don't fully understand what the DisableBrowserCaching setting does. I have read all of the docs and I have done a little ...
3
votes
1answer
222 views

Sitecore 7.2 returning 304 Status instead of 200 when a component within a page has been updated

Sitecore 7.2 cache issue - we have a page that has a document list component on it. The page is hit and shows the document list with abc title, the document in the media library gets updated to 123 ...
4
votes
2answers
438 views

Sitecore Azure Cachingservices Sizing on Prod Based on number of CD servers

Is there any rule of thumb on the number of caching services to have with Content delivery servers. Like 2 Cache services with 1 CD in Azure PAAS. Asking this question, because one of our clients ...
4
votes
1answer
4k views

Sitecore pre-fetch cache setting clarification

Looks like out of the box prefetch cache setting has item and children set to items which no longer use. I've gone and added below on both master and web database settings. <prefetch hint="raw:...
15
votes
4answers
7k views

How can I safely clear the media cache on a production sitecore CD instance?

I would like to manually clear the media cache on a production CD instance. Is there a way to clear the cache without causing disruption to the site?
8
votes
2answers
2k views

Sitecore with personalisation and CDN such as CloudFlare

If I wanted to set up Sitecore to use CloudFlare (or an other CDN) how would I enable personalisation? Would I have to exclude any pages using personalisation from being cached by the CDN, or is there ...
6
votes
1answer
682 views

ETag or Last-Modified on sitecore pages

How to implement ETag or Last-Modified on sitecore pages (not media library) Based on the page item, rendering datasources, index search results having changed. Get a hash of the generated page ...
4
votes
1answer
540 views

Disabling the Glass lambda cache

I believe an issue we're running into might be related to the lambda cache in Glass - I'm also concerned about the performance ramifications if we were to disable it. Has anyone done this and ...
9
votes
1answer
990 views

Can GlassMapper caching be disabled at a site level?

Sitecore's HTML caching can be disabled through the cacheHtml parameter on the website's definition. This is handy for a preview site that directly reads from the Master database. Can the same be ...
4
votes
1answer
161 views

Locking down Sitecore rendering caching

Sitecore has some lovely granular security permissions that can help us stop users doing things which can break the site, however one thing I can't obviously see is how to limit access to the caching ...
12
votes
3answers
3k views

Sitecore Page - First request on every page slow

We have been noticing that the first request to any of the Sitecore pages seems to be loaded slow. Every subsequent request is ok. Note that we can't use output cache as is a transaction based member ...
8
votes
2answers
2k views

Rendering Caches not working

I have a problem with my HTML cache always being empty when I look at the cache report screens in Sitecore I have done the following: Enabled Cacheable and Vary By Data on each rendering in Sitecore (...
14
votes
2answers
8k views

What is the difference between the item, prefetch and html caches?

It is my understanding that there are various different caches in Sitecore. What are they for? I know there is an item cache, a html cache and a prefetch cache, but I don't understand how they ...
5
votes
2answers
2k views

Sitecore.Caching.CustomCache changes with 8.2

I'm upgrading my site from Sitecore 8.1 to Sitecore 8.2, and one of the compile errors that I'm getting is CS1503 Argument 3: cannot convert from 'long' to 'System.EventHandler' As I'm ...
13
votes
4answers
3k views

Disable HTML cache for development

I am currently making code changes to a view rendering in Sitecore, and when a deploy these changes to my local environment, they were not visible. I realized that the rendering was marked as ...
16
votes
2answers
604 views

How do I clear the HTML cache for a specific user?

We have an action that updates some user profile information that is displayed in components that are cached with a vary by user setting. Is there a way to clear the cache for only that one user?

1 2
3