+

Search Tips   |   Advanced Search

Head contribution

The head folder contains files served as head contribution through the resource aggregator framework. Those resources appear in the head tag of the markup served to the browser.


Folder: /module-id/head

The following section provides a complete list of supported files within the head section.

    /module-id/head

    Files that are stored in this directory are served in the head section.

      /head/*.js

      JavaScript files are served in alphabetical order. They are grouped by file name and if they have the same name they belong to the same group. Within this group, the following extension variations exist. There are two sets of six resources. The sets cannot be mixed.

        *.js

        Main compressed JavaScript content.

        *.js.uncompressed.js

        Main debug JavaScript content.

        *.rtl.js

        Compressed JavaScript to be used for right-to-left languages.

        *.rtl.js.uncompressed.js

        Debug JavaScript to be used for right-to-left languages.

        *.locale.js

        Compressed JavaScript content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

        *.locale.js.uncompressed.js

        Debug JavaScript content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

      The following group is an alternative. Use either of these variation group, but we cannot mix them.

        Alternative

        The following group is an alternative. Use either of these variation group, but we cannot mix them.

        *.min.js

        Main compressed JavaScript content.

        *.js

        Main debug JavaScript content.

        *.rtl.min.js

        Compressed JavaScript to be used for right-to-left languages.

        *.rtl.js

        Debug JavaScript to be used for right-to-left languages.

        *.locale.min.js

        Compressed JavaScript content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

        *.locale.js

        Debug JavaScript content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

      /head/*.css

      CSS files are served in alphabetical order. They are grouped by file name. If they have the same name, they belong to the same group. Within a group, the following extension variations exist. There are two sets of six resources. The sets cannot be mixed.

        *.css

        Main compressed CSS content.

        *.css.uncompressed.css

        Main debug CSS content.

        *.rtl.css

        Compressed CSS to be used for right-to-left languages.

        *.rtl.css.uncompressed.css

        Debug CSS to be used for right-to-left languages.

        *.locale.css

        Compressed CSS content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

        *.locale.css.uncompressed.css

        Debug CSS content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

        Alternative

        The following group is an alternative. Use either of these variation group, but we cannot mix them.

        *.min.css

        Main compressed CSS content.

        *.css

        Main debug CSS content.

        *.rtl.min.css

        Compressed CSS to be used for right-to-left languages.

        *.rtl.css

        Debug CSS to be used for right-to-left languages.

        *.locale.min.css

        Compressed CSS content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

        *.locale.css

        Debug CSS content for a specific language. Replace locale and with the local representing code for the location. For example, for the United States, use en_us.

      /head/*.html

      HTML files are served in alphabetical order. They are grouped by file name and if they have the same name they belong to the same group. Within a group, the following extension variations exist.

        *.html

        Main HTML content.

        *.rtl.html

        Defines the HTML to be used for right-to-left languages.

        *.locale.html

        Defines the HTML content for a specific language. Replace locale with the local representing code for the location. For example, for the United States, use en_us.

      /head/device-class-name

      This optional directory scopes the resources by device class. Use one individual device class, but it has no equation support for the directory or the files in it. We can scope the contribution to a particular device class when the incoming request is recognized as a device class name. This contribution can include JavaScript, HTML, or CSS. See the previous sections for more information.


Parent Simple modules