Skip to content
RWOverdijk edited this page Oct 22, 2012 · 10 revisions

Because of the amount of questions I've been getting over IRC and github issues, I've decided to set up a FAQ. Most of these entries are not big enough having their own wiki page. If they were, I've probably already updated those pages to reflect this.

Q: Why do filters not work out of the box?

A: I've actually dedicated a complete section to this in the wiki. You can find it here under "Missing filters".


Q: What are these aliases I keep reading about?

A: Aliases are the keys you use in your configuration. Let's say you have a map entry in your resolver configuration, then the key will be the alias. 'js/my-alias.js' => 'js/actual-file.js'. These aliases can be used to apply filters and caching to the assets.

Note: If no alias was supplied (like with paths / prioritized paths) then the actual requested path will be the alias.


Q: How do I add paramters to filters?

A: You can modify a filter in whatever way you like by just specifying a "service" in stead of a "filter". This way you get to return a filter, which has been instantiated by you. Take a look at the filters entry in the wiki at the bottom of the page (services).

Clone this wiki locally