Issue Bug Closed

#32397Page renderer provides files to compressor incorrectly

Dmitry Dulepov 12/08/11, 15:49 updated 09/02/13, 09:50

Description

If config.absRefPrefix is set, page rendere provides incorrect file references to compressor. It prepends absRefPrefix to JS and CSS file names. This causes two problems: (1) compressor cannot test those files because it always prepends site path to the file name and (2) compressor fetches local files using HTTP (performance!). The result is that all default styles from extensions are missing when compressor is enabled but a reference to an empty CSS file is added to the page.

The solution is not to add absRefPrefix because it is added in a later stage anyway.

Reviews 3