-
Don‘t cache renderings containing placeholders
Sitecore‘s „HTML Cache“ feature on renderings has been a great tool since the early days of Sitecore. While in the world of headless, we‘re actually caching JSON instead of HTML, the functionality of this cache remains the same: There are caching variants and more but I won‘t go deeper into this topic as it has…
-
Experiences with Glass Cache
In version 4, Glass Mapper introduced a caching mechanism to speed up access to mapped objects. Basically, once an object is mapped, it is stored in Glass Cache which by default utilizes HttpCache in Memory. The next time the same object is mapped, it will be returned from the cache instead of being read from the…
-
Understanding Sitecore DMS Campaign triggering
Sitecore DMS allows you to launch and track Campaigns. You can set up Campaigns inside Marketing Center. Check the Marketing Operations Cookbook on SDN for more detail on that. Make sure you deploy your Campaigns by clicking Deploy in the Review ribbon afer setting them up. Now your Campaigns are ready to be triggered. Campaigns…
-
Use System.Boolean when indexing checkbox fields
I faced the issue that checkbox values were not being updated in the index correctly. When I unchecked a checkbox and saved, the index would still have “1” stored as value for my field. To prevent this issue, use Sytem.Boolean as type instead of System.String. <field fieldName=”MyCheckboxField” storageType=”YES” indexType=”TOKENIZED” vectorType=”NO” boost=”1f” type=”System.Boolean” settingType=”Sitecore.ContentSearch.LuceneProvider.LuceneSearchFieldConfiguration, Sitecore.ContentSearch.LuceneProvider” />…
-
View running Sitecore background jobs
I’ve created a very simple but useful admin page recently that shows all background jobs (indexing, publishing etc.) currently running on the Sitecore instance. So if you’re ever wondering why the instance is running slow or why jobs are being queued you can take a peek at /sitecore/admin/ViewJobs.aspx You might want to apply some styling…
-
Determining the Context Index when performing bucket queries
We have faced a problem when working with multilists and custom indexes. Some of our multilists would not contain any data even though the lucene queries would have matches when querying the index directly. We found that the problem had to do with the way Sitecore determines the index to perform the bucket query on. Reason When…
-
Sitecore multi language challenges
We have recently completed a project for an international Site featuring a large amount of content in many languages. Not only did we have to support several base languages – it also was a requirement to be able to customize content for specific countries. This lead us to use Sitecore’s built in mechanism of language/country…