Hot answers tagged

9 votes
Accepted

Very slow DXA response times under performance testing

There are various optimization and checks you can do for performance in DXA Enable DD4T caching. <add key="CacheSettings_CallBackInterval" value="30" /> <add key="DD4T.CacheSettings.Page" ...
user avatar
  • 5,857
7 votes
Accepted

Is it possible to 'subscribe' to the Cache Cannel and add custom actions

In 2013 SP1 the Cache Channel messages were not a public API, and that hasn't changed yet in Web 8 either. I don't think you can do much with the RMI at all actually, but when you change to JMS there ...
user avatar
  • 29.6k
6 votes

Very slow DXA response times under performance testing

You enable Tridion caching by updating your Storage Configuration, as shown below <ObjectCache Enabled="true"> <Policy Type="LRU" Class="com.tridion.cache.LRUPolicy"> <Param ...
user avatar
  • 7,307
5 votes

LRUPolicy is not loaded

Quirijn in the caching setups that I've performed I observe that the system always starts with empty policy but immediately loads the LRU policy after. Can you see if you log files mention anything ...
user avatar
  • 1,475
5 votes
Accepted

RabbitMQ an option to use for caching with Sites 9 instead of ActiveMQ?

Scaling out the deployer: ActiveMQ and Amazon SQS are supported. For server side caching JMS is supported but the JMS vendor is not specified as it does not matter, just the type of messages. Here's ...
user avatar
4 votes

Broker Query takes time to execute for large data (Tridion 2013)

i think your are loading too much content from the broker. Can't you do just some optimization. As mentioned by @Tanner Object Cache with CCS is indeed very good option check if it helps Nothing ...
user avatar
  • 5,857
4 votes

Broker Query takes time to execute for large data (Tridion 2013)

@Shatadru, How you are invalidating your application level cached result to reflect published data? To improve the performance of you query execution you can check the below options: Broker ...
user avatar
  • 4,054
4 votes

Cache list size seems limited to 128 items

The default maximum is indeed 128 queue events. You can change this by specifying a different value for Queuesize attribute in the element RemoteSynchronization in the cd_storage_conf.xml file. Be ...
user avatar
  • 523
4 votes

Why OData is missing some components with Filter criteria whereas it works fine if also provide the component Id in Query?

Maybe the problem is the number of results of the query. By default the number of results are limited to 25, as it is configured in the cd_webservice_conf.xml <OData> <DefaultTop>25&...
user avatar
4 votes
Accepted

com.tridion.cache.CacheException: Unable to broadcast event

It's caused by the fact that the CacheEvent class had no serialVersionUUID. Some application servers then generate their own and if they differ between JVMs (which is then usually the case), you get ...
user avatar
  • 7,253
3 votes

serialization issue while using ApacheMQ for tridion object cache

Apache ActiveMQ is blocking the JMS ObjectMessages for security reasons. This is the default configuration. Configure ActiveMQ to allow ObjectMessages to be deserialized. Either enable it for all ...
user avatar
  • 7,495
3 votes
Accepted

DD4T 2.0 caching updates

As highlighted in Albert's DD4T and caching blog post from back in 2012, the earlier versions of DD4T (prior to v2.0) relied on three mechanisms for caching: ASP.NET Output Cache SDL Tridion Object ...
user avatar
3 votes

Broker Query takes time to execute for large data (Tridion 2013)

You may try following option: Keep the Maintenance Plan for SDL Tridion in effect and quite frequent - for extensive broker queries, I guess it was recommended to run the SDL Tridion Maintenance Plan ...
user avatar
  • 15.9k
3 votes

Tridion caching metrics

Instead of using the single full apachemq jar in deployer and website bin\lib folder, copy the individual jars from apachemq installation lib except log4j jar. After doing that the logging will start ...
user avatar
  • 1,924
3 votes

How should I calculate the queue size for Remote synchronisation using JMS

We are connecting with a JMS (Tibco) from Deployer Extension and the size limit specified for the queue in EMS is called as the queue build up size. This size is in MBs. It means that the EMS will ...
user avatar
3 votes

spring caching with ehcache is not returning cached object

After doing a lot of trial and error, I was finally able to cache my object. Here are my findings for anyone trying to implement caching in DXA. These are not specific to DXA but common for Springs+...
user avatar
  • 1,049
3 votes
Accepted

Suppress caching for a dynamically populated entity in DXA 2.2

Caching in DXA works great for simple use cases but can quickly get very complicated if you have exotic scenarios. I myself have spent a lot of time getting familiar with how it works in detail and ...
user avatar
  • 6,165
2 votes

How should I calculate the queue size for Remote synchronisation using JMS

I'd say the answer depends on how you clean your JMS queue. Tridion doesn't do it by itself, which means your JMS provider has to do it (or alternatively be cleaned by a restart often enough). I'd ...
user avatar
2 votes
Accepted

Link Caching not enabled, although configured. Is XPM relevant?

The answer from SDL support about this (R&D), is to disable the object cache in the cd_storage_conf.xml if XPM is enabled. XPM seems to force disabling object cache anyway. When enabled, the ...
user avatar
  • 598
2 votes

Link Caching not enabled, although configured. Is XPM relevant?

Please add the attribute cached="true" to the element. By default the caching is not inherited from the top level (ItemTypes element) and and if cached attribute is not specified it is set to ...
user avatar
2 votes

Link Caching not enabled, although configured. Is XPM relevant?

Essentially, having XPM on a website lowers the amount of caching done of componentlinks. There's nothing you can do about it. This, as far as i know, has always been the case since XPM was introduced....
user avatar
2 votes

DXA 1.2 - Enabling object cache not working as expected

To directly answer your question ("Will there be any interference with EHCache with this kind of setup?"): Maybe, depending on how you set it up. There could be issues on the EHCache setup (cache ...
user avatar
2 votes
Accepted

SDL Web 8 with .NET DXA 1.5: Internal links not updating consistently

SDL issued a hotfix for this issue. It was caused by the service-caching on the CIL having a sliding expiration which meant that regularly requested content was not falling out of the cache when ...
user avatar
2 votes
Accepted

Cache list size seems limited to 128 items

Quirijn, documentation say that the size can be configured when defining the policy itself http://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-D10BB04E-192D-432D-A00D-01D74182A260 ...
user avatar
  • 1,475
2 votes

DXA 2.0 Caching not working as expected

sometimes it appears only after restarting the Content Service and Tomcat service. You may want to test this independently, so you can figure out which cache is holding your content updates hostage (...
user avatar
  • 28.9k
2 votes

RMI based cache channel messages in logs when using JMS

Turns out it was just some old configuration that was stuck in my websphere instance. I rebuilt the application and redeployed the war and the messages went away.
user avatar
2 votes

Enabling caching resulting 500 error in DXA 2.0 Java and RedHat Linux server

So, according to the Stack Trace, there is a NullPointerException at line 53 in TridionCacheConfiguration.java. Good luck with post-mortem analysis. :-) See: https://community.sdl.com/product-groups/...
user avatar
2 votes
Accepted

Binary Caching Issue DXA 1.8 | Web 8.5

The issue was with some piece of DXA 1.8 code here if (localization.LastRefresh.CompareTo(lastPublishedDate) < 0) { //File has been modified since last ...
user avatar
1 vote

How to make Service Cache publish aware?

You need to configure cache invalidation messaging - see the documentation on this topic: https://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v5/GUID-7E728735-073B-4827-AABE-B45592CFF36D With ...
user avatar
  • 28.9k
1 vote
Accepted

Why DD4T JMSTransportListener implementation has hard binding with Apache ActiveMQ

There's no generic Transport Listener specification in the JMS Api / specification, so hence it's not possible to keep this part generic. You should be able simply remove the transportListener and ...
user avatar
  • 7,253

Only top scored, non community-wiki answers of a minimum length are eligible