On my enviroment, all binary files are configrured to be stored in Broker DB by cd_storage_conf.xml. Also, I'm using DXA(Tridion Reference Implementation).

Now, CSS, JS and generally used images are published by using "Get Design Element" TBB, and they are stored in Broker DB.Also, DD4T.Web.Binaries.BinaryDistributionModule is used to get binary files from broker DB.

But I cannot get binary files, and following message is output to Site.log.

DEBUG - Url /css/base.css does not match binary url pattern, ignoring it.

I saw a source code of BinaryDistributionModule, and this is because binary file URL is not matched with regular expression defined by "ConfigurationHelper.BinaryUrlPattern".

What is "ConfigurationHelper.BinaryUrlPattern"? And how can I confiure it?


  • In your web.config, you can add a new key called "DD4T.BinaryURLPattern" and ensure that css is in the value – Robert Jin May 7 '15 at 17:19
  • DXA does not use this property, see my answer for more detail on how binaries are managed – Will Price May 7 '15 at 20:31

It does not sound like you are really using the DXA as this does not contain a Get Design Elements TBB, or use the standard DD4T Binary Distribution Module, or ConfigurationHelper class.

The DXA publishes design assets using the Publish HTML Design TBB. This TBB is executed when you publish the /System/Publish HTML Design page from your web publication (see docs), and your assets end up in the broker DB with a path like:


The Sdl.Web.DD4T.Statics.BinaryDistributionModule takes care of serializing binaries from the broker DB to the filesystem and uses the Sdl.Web.CommonConfiguration.MediaUrlRegex property to determine paths for binaries. The path /system/assets/.* is automatically added as a pattern to this property on application startup.

  • It succeeded that publishing CSSs and images by publishing Publish HTML Design page, and BinaryDistributionModule works fine. By default it doesn't publish image and CSS files, so edit Gruntfile.js in html-design.zip(it's saved as MMC "HTML Design" in Tridion).Customize "copy:" section of Gruntfile.js and create folders and files in src/system/assets.Also the zip file must be unzipped in a folder on high layer (C:\work etc.), otherwise some files disappear and it causes publish error. – Hirokazu Shikata May 8 '15 at 9:07
  • 1
    By default it certainly will publish CSS and image files, so I think something is wrong with your installation/customization – Will Price May 8 '15 at 13:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.