All Questions
163 questions
1
vote
1
answer
51
views
Cache clean-up on Publishing:End:Remote with multiple CMs
Our Sitecore CM (PAAS hosting) handles a lot of traffic. We plan to cater to this traffic with multiple web apps in Azure.
I am unable to figure out the following:
On the Publish:End:Remote event, ...
2
votes
2
answers
119
views
What are new improvement in Sitecore Cache in 10.4
Can you provide details on the new improvements and enhancements made to Sitecore Cache in version 10.4?
What are impact area ? how it is better to older version?
3
votes
1
answer
94
views
Integrated GraphQL cache is not working in Sitecore XP
We have an on-prem Sitecore XP solution with Content Management (CM) and Content Delivery (CD) servers, integrated with a rendering host. Our implementation is headless using Next.js, and for some ...
2
votes
1
answer
137
views
Sitecore XP 10.3.1 content updates on remote (replicated) CD server are always one version behind
QUICK SUMMARY:
We are trying to set up a remote CD server near China using SQL Server Transactional Replication. We almost have it working but are noticing that when we update an item, the remote CD ...
0
votes
2
answers
149
views
How to check Sitecore web or stageweb cache in/sitecore/admin/cache.aspx?
I can see the CM cache in /sitecore/admin/cache.aspx. Do we have web or stageweb or different server cache inside /sitecore/admin/cache.aspx?
I would like to clear the Sitecore cache in all the ...
2
votes
1
answer
57
views
Are decimals supported when specifying cache size values?
Are decimals not supported when configuring cache sizes? I recently noticed that setting a cache size to 1.6MB resulted in the cache size being set to 16MB:
Patch Config
Below is the patch config ...
0
votes
1
answer
50
views
Why doesn't the cache.aspx total cache size line up with "running total" size in logs?
When I check /sitecore/admin/cache.aspx I see a total cache size value of around 334000000 (334 MB). The size is consistent with what I see when doing a quick calculation of the current run size of ...
1
vote
3
answers
121
views
Sitecore forms js scripts caching issue
Recently we came across an issue where the new changes made in a js file used in the Sitecore Forms were not reflecting.
We fixed it temporarily purging the CDN cache. However, we are looking for a ...
1
vote
2
answers
223
views
how to create patch for changing cache size limits in sitecore config
Using Sitecore 10.0.1
I need to change the Prefetch and AccessResultCacheSize to 500 MB
The Prefetch cache size is set as below in one config file
<prefetch hint="raw:AddPrefetch">
&...
1
vote
0
answers
58
views
Issue with cacheHtml settings
Recently, we have enabled "cacheHtml" in the Site Config file for our PREPROD/PROD site as true. After that, we have noticed that a specific component on a page is getting cached, although ...
2
votes
2
answers
138
views
CD Tied to Publishing Target Not Updating
I am using the Publishing Service in a Sitecore 10.2 Production environment. We use deployment slots in Azure App Services. Each deployment slot has a dedicated Web database, Slot 1 has Web and Slot 2 ...
1
vote
0
answers
103
views
Custom SXA Rendering displaying Incorrect Data Source
I've built out a custom SXA component by cloning an existing component, creating a custom Controller/Repository/View and updating the template. The template has 3 fields on it, a Checkbox, a Droplist, ...
1
vote
1
answer
61
views
Sitecore not setting cache directives on request headers
We have upgraded from Sitecore 9.3 to 10.3 which uses Headless services. Our instance is on sitecore managed cloud.
On our 10.3 instance, we do not see the Cache-control and pragma directives on ...
0
votes
1
answer
74
views
Which cache settings or session states scenarios could cause a rendering's personalization conditions to not evaluate after app pool recycle?
In my 9.0.2 MVC site, I have a personalized rendering on a page that has personalization enabled.
Below is a contrived example of a set of rules that should always result in the rendering being hidden....
1
vote
4
answers
201
views
check if data cache and presentation cache are enabled
How to check if data cache and presentation cache are enabled or not in Sitecore?
I have received the feedback to enable Sitecore OOTB data and presentation cache.
How to check above settings?
3
votes
6
answers
691
views
How to enable Caching on Page Level for a particular component
I want to enable caching on Spotlight Widget Rendering, which is added on multiple pages. And we want to enable it for 2 sites only.
Can anyone please help me in this?
2
votes
0
answers
102
views
Sitecore.Context.Item returning obsolete data that doesn't match what's in the web database
I have an odd issue that seems to be related to caching but I've never seen this before.
Sitecore.Context.Item.Fields["OfficeContacts"].Value is returning a different value from Sitecore....
1
vote
4
answers
614
views
Sitecore shutting down exception - cache are cleared
We are getting this exception frequently on both CM and CD that Sitecore is shutting down and Prefetch and other cache are getting cleared.
Sitecore Prefetch master cache max size is 200 MB and when ...
0
votes
1
answer
364
views
Getting Compile Error CS1545 after updating StackExchange.Redis
After updating the NuGet Package of StackExchange.Redis latest 2.6.96
error CS1545: Property, indexer, or event
'ConfigurationOptions.EndPoints' is not supported by the language;
try directly ...
2
votes
3
answers
691
views
When to enable Sitecore cache by query string
When should HTML Cache be enabled in Sitecore using "By Query String"? I believe one case would be search. Even in that case, on which component should it ideally be enabled?
0
votes
3
answers
587
views
How can I get the datasource of a personalized sublayout (webforms)?
I'm working on enabling sublayout caching for personalized sublayouts.
public class ContextCacheableSublayout : Sublayout
{
public override string GetCacheKey()
{
var cacheKey = base....
1
vote
2
answers
395
views
Latest Versioned Media Item is not Updating on Front End Website
We are using Versioned Media Items on our website.
Our media URLs will be in the format -
https://domain/-/media path.pdf?sc_lang=en&hash=6952A5CAEA1FC60BEF7CCDF29B0293E2
After we attach a pdf ...
1
vote
1
answer
421
views
Sitecore media with AlwaysAppendVersion set to true adds the revision to -1 for non default language versions
Environment: Sc 10, SXA 10x, Azure PaaS
Sitecore adds query string param rev=-1 to the media url whenever there is no language version available for asset other than default Language.
ex: /-/media/...
1
vote
2
answers
178
views
How to check cache key in Sitecore SXA?
I am working on Sitecore SXA and we are planning to implement cache. I have enabled it on Site level and added cache on rendering level for all the sites inside tenant. Now my question is how can we ...
1
vote
2
answers
387
views
Sitecore cache in sxa
I am already using Sitecore cache in SXA. I am using it on site level. My question is if we have Sitecore cache on site level, do we need to add it on rendering level in Sitecore SXA?
I am using the ...
2
votes
1
answer
112
views
Sitecore - Edge Based Personalization - Move personalization to be handled by CDN
I recently asked about the personalization and why it fails sometimes when using Cloudflare caching. I have come to a conclusion that the way we have set up the personalization is based on using ...
1
vote
1
answer
455
views
When does prefetch cache filled up completely
I was trying to see how much prefetch cache is being utilized on my CD server. I accessed cache status pages and found out that they are not getting filled after restarting the app (I made config ...
0
votes
1
answer
289
views
HTML rendering cache performance logs
Recently, our Prod environment caused downtime due to some caching issue as reported by the agency that hosts our application. Sitecore support asked us to enable HTML Rendering Cache on select ...
0
votes
1
answer
386
views
Custom cache settings for JS/CSS resources
Is it possible to set the cache for JS and CSS files only based on some logic?
When the url of the assets always changes (e.g SignUp.[versiontoken].css when the content is modified) then the cache ...
1
vote
1
answer
530
views
Clearing Sitecore cache on publish for specific items
I want to clear custom cache when items at specific path are published. Here is what I tried so far.
Solution 1:
I created a custom event handler for publish:itemProcessed and publish:itemProcessed:...
0
votes
1
answer
826
views
Content not shown in site after publishing [duplicate]
Sitecore 10.0.1
Published changes of one particular component is not showing up in site.
The content is there in web db. And cache is also cleared and no error logs.
Workflow of the item is also ...
1
vote
0
answers
119
views
Sitecore 9.0.2 and Azure PaaS based live website gives '502' error few times in a day
We have our public website in Sitecore 9.0.2 and it is in Azure PaaS infrastructure, from last few days the website gives '502 following error message' at specific times in a day(8 (am or pm), 9(am or ...
0
votes
1
answer
480
views
Dianoga v5 with WebP, CDN and Sitecore HTML Cache
As part of a Sitecore upgrade to v10 we also upgraded to Dianoga V5.4.1. This site uses output/HTML cache extensively. We need to support browsers with and without webp support. The WebP CDN config ...
0
votes
2
answers
957
views
How to clear cache when publish sitecore item programmatically in Sitecore 9.3?
I have a private method to publish an item to the Sitecore Web database programmatically. It's publishing the item to the Web database but not clearing the cache. I still see the data from the older ...
2
votes
2
answers
202
views
Sitecore 9.3 output cache VaryByCustom
In Sitecore 9.3 solution I've got a few MVC controllers returning JSON data. I was planning on using the standard ASP.NET MVC OutputCache attribute which works absolutely fine. However, I also require ...
0
votes
0
answers
205
views
Rendering Parameters values being null after sitecore upgrade
We have upgrade Sitecore solution from 9.1 to 10.11, as part of upgradation we had upgraded Sitecore databases and solution. We have around 80 plus sites and we are using sxa.
Let me describe about my ...
1
vote
1
answer
165
views
Is Donut caching in SXA with Forms supported?
I have come across an issue where if I configure a form on a page.
How renderings are nested:
Column Splitter (main)
Container (/main/container-9/column-2-7)
Sitecore Form Wrapper (/main/container-9/...
0
votes
2
answers
220
views
How to ensure rendering cache invalidates after a direct edit to the .CSHTML file
I have a case where I needed to apply a hotfix to a component CSHTML view file. I edited the file on both of our Content Delivery servers. I also cleared the entire Sitecore cache via /sitecore/admin/...
0
votes
1
answer
127
views
Lost on HTML Output Caching in SXA [closed]
I am so lost on what I am doing.. so I am working on an SXA website. I have done cache tuning and now I am looking at working on the settings for various components. I literally have no idea what I ...
3
votes
2
answers
1k
views
Set cache-control header to public
I know its missing a point of having Sitecore CMS, however we need to put a site behind Azure CDN. We do not care about personalization, analytics etc. Is there any out of box way to set cache-control ...
1
vote
1
answer
543
views
ON PUBLISH , Pdf media item is not clearing the cache from CD server in 9.3
ON PUBLISH, Pdf media item is not clearing the cache from CD server in 9.3 and still shows the old pdf.
The HTML Cache clears as expected in the CD but not the media item. Eventqueue folder in the CD ...
0
votes
1
answer
62
views
Is item/data cache necessary for each site in a Sitecore instance?
As per the below link - cache configuration - is this cache to be configured
from site definition point of view for each sites
or
configured in a single Sitecore instance where it has to be based ...
0
votes
1
answer
327
views
Custom Vary By option on Rendering instance
I am working on trying to add custom Vary By options to renderings. I have created and added the custom fields to the Caching section on a rendering directly. This works fine for setting caching on ...
0
votes
1
answer
1k
views
Where to see item cache or data cache is stored?
I have just enabled the below caches in web config file, now how to see the cache is storing in particular location or not ? If so which file or database table i have to check ?
<setting name="...
2
votes
1
answer
260
views
SXA HtmlCacheClearer - only clears cache for first matching site
I have a problem where when I publish an item in an SXA site, the cache does not get cleared for that site. I have a Sitecore 9.0.2 solution and the SXA site has a two "Site Grouping" items; ...
-2
votes
1
answer
519
views
How to clear a sitecore rendering cache programatically [duplicate]
How can I clear an individual rendering cache from my site on publishing Sitecore item programmatically. I followed below article which did not work for me.
Clear individual Rendering/Component Html ...
4
votes
0
answers
88
views
Rendering not getting picked from cache
Sitecore 9.3 - JSS
I was working on the performance aspects of my application. And I checked the details on Stats.aspx
The different JsonDatRenderer are for different Websites hosted on the instance.
...
1
vote
1
answer
1k
views
Storing custom data in Redis
Our Sitecore 9.2 PaaS website uses federated authentication for logging in our end users, and we are looking for a secure place to store refresh- and access-tokens (pref. serverside). We would prefer ...
6
votes
1
answer
210
views
SQL Replication doesn't clear CD caches on remote target
We have a multi-cd publishing situation I can use some help with.
We are in an Azure PAAS situation, with the CM and 1 CD server located in the US. We also have a CD Server and SQL database in China (...
2
votes
1
answer
534
views
Implement custom session-like cache in Sitecore
Due to limitations outside my control I will have to store custom objects for each logged in user of my Sitecore site. Currently this is getting stored in session state. There is alot of pressure on ...