3

In DXA, Can we publish Images to the Files system. If yes, we need to override the deployer Storage.conf.

2) If we can publish to File system how do we get rid of tcm id append to binary as we have css images that are handled from CMS.

3) How will the request to Binary from the file system is handled instead of going to Broker.

Thanks in advance

4
  • Client wants all the binary to be published to Filesystem
    – user1838
    Commented Feb 17, 2016 at 18:48
  • But why? As mentioned, binaries are cached on file system, so performance can't be the reason... Commented Feb 17, 2016 at 18:49
  • Ok even though we publish to broker DB, how do we handle the css images, we need those images without tcm id's
    – user1838
    Commented Feb 17, 2016 at 18:50
  • @RickPannekoek, in my case the client wants the images to be served by simple Apache Httpd and not the application server. Having them all in the DB is restrictive and not desired by many. Commented Mar 3, 2016 at 23:48

2 Answers 2

3

DXA expects all items (including binaries) to be published to the CD Broker database. DXA will cache binaries on file system of the web application server.

Is there a reason why you want to publish to file system?

6
  • Client wants all the binary to be published to Filesystem
    – user1838
    Commented Feb 17, 2016 at 18:49
  • But why? As mentioned, binaries are cached on file system, so performance can't be the reason... Commented Feb 17, 2016 at 18:50
  • Ok even though we publish to broker DB, how do we handle the css images, we need those images without tcm id's
    – user1838
    Commented Feb 17, 2016 at 18:58
  • And why are the TCM IDs in the file names considered problematic? The reason these are put in is to avoid file name uniqueness conflicts. Commented Feb 17, 2016 at 21:12
  • How do map css images that are used as background images in css? if we move from one environment to another then the tcm id changes, we need those images without tcm id so that we dont have to update css every time we move css from one environment to another
    – user1838
    Commented Feb 17, 2016 at 21:37
2

Css images are not published with tcm-id appended as they are part of htmldesign zip. and it doesn't make any sense because css assests are hard-coded in css file. Only content images are published with tcm-id.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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