Edgewall Software

Changes between Version 6 and Version 7 of TracDev/TracURLs


Ignore:
Timestamp:
Feb 15, 2015, 8:26:42 AM (9 years ago)
Author:
Ryan J Ollos
Comment:

Reword.

Legend:

Unmodified
Added
Removed
Modified
  • TracDev/TracURLs

    v6 v7  
    44
    55 /chrome :: for any kind of ''static resources'' (usually ''images'', ''.css'' and ''.js''). They are called ''static'', because they don't require any server-side processing and can be served as-is. In fact to avoid firing [TracDev/RequestHandling Trac request handling] many people prefer to have those static resources  [TracInstall#MappingStaticResources served directly by the web server].
    6  /chrome/site :: using this URL Trac accesses static resources for TracInterfaceCustomization that were uploaded to [TracEnvironment environment's] ''htdocs/'' directory
    7  /chrome/shared :: using this URL Trac accesses static resources in a shared location defined by the `htdocs_dir` option in the `inherit` section of the [wiki:TracIni#inherit-section].
    8  /chrome/common :: with this URL Trac accesses static resources used by default Trac scheme - these are usually found in ''htdocs/'' subdirectory in Trac installation location
    9  /chrome/<pluginname> :: plugins may also have static resources that can be accessed using Trac chrome handler
     6 /chrome/site :: accesses static resources for TracInterfaceCustomization contained in the [TracEnvironment environment's] ''htdocs/'' directory
     7 /chrome/shared :: accesses static resources in a shared location defined by the `htdocs_dir` option in the `inherit` section of the [wiki:TracIni#inherit-section].
     8 /chrome/common :: accesses static resources used by Trac. These are usually found in the ''htdocs/'' subdirectory of the Trac installation.
     9 /chrome/<pluginname> :: accesses static resources for a plugin
    1010
    1111All static resources can be exported with '''trac-admin deploy''' command to serve them independently. The process is described in detail in TracInstall#MappingStaticResources. Just do not forget to re-export them after installing new plugins or upgrading Trac.