Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Processed Resources App enables processing of resource files. When a resource (CSS or JavaScript) is "processed" its content is interpreted as a FreeMarker template. You can use FreeMarker constants, variables and expressions inside the resource text. Magnolia evaluates them before serving the resources to the client.

Note
iconfalse

(warning) Magnolia 5.4+ resource Resource processing was removed from the standard Resources module and the Processed Resources app module brings back this functionality for users who rely on it. Note that this module is not part of the preconfigured Magnolia bundles and needs to be installed separately. 

...

New Web technologies such as Syntactically Awesome Style Sheets (Sass) and Less have largely replaced the need to do FreeMarker pre-processing for CSS files. You can now accomplish the same with a dedicated CSS pre-processor. We recommend that you start using such new technologies. Magnolia provides the /resources path (without dot) as a legacy option to support older projects.

...