We can see css and js files in content tree under /sitecore/media library/Themes/ and if we view source code of a web page we can also see the links. However I am not able to find those files in windows explorer. I am just wondering where those files are stored.

This is how it renders in the browser

<link href="/virtualFolder/-/media/themes/projName/global/themeName/styles/styles.css" rel="stylesheet" />

but no such paths exist on CD server.

1 Answer 1


They are stored in media library.

Just open content editor and expand

 media library


enter image description here

There are no files on the drive. There are just media item under those nodes holding content of those files.

  • "There are no files on the drive." this answers my question. Asking out of curiosity, where does CD server picks them from? Is there any article available explaining this procedure?
    – Imad
    Dec 1, 2021 at 14:32
  • 1
    CD takes them in the same way like it takes images from Media Library. Content of the file is in database. When media item is published to web database it becomes available for CD server as well. Any url which contains "/-/media" tells Sitecore that it should not look on drive and that it should execute MediaRequestHandler instead and use content from the database under "media library" node.
    – Marek Musielak
    Dec 1, 2021 at 16:25

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.