Where are the java script code stored in WCM?

Hi,

I used the script application portlet to create java script code. I wonder where are those js code stored on the portal server?

Thanks,

Lun

This video notes that script application fragments are stored as wcm items:

https://www.youtube.com/watch?v=sgay_0OjciQ

I created a script application and noticed the javascript was stored in a wcm text element/component.

Are they stored in file system, or databases? If file system, where is the location?

Thanks,

Lun

Here is the location of a sample content item created when using the javascript portlet:

Portal Site Library > Content > Home > ScriptPortlet > Untitled_1

The actual binary data is stored in the JCR database (used for all wcm items).

When the content is rendered however the data may appear temporarily in the binaryValuesCache directory:

.....(profile root)\PortalServer\jcr\binaryValues\cache\PortalContent