As soon as activating sf_cache the css-background-images get lost.

I've tested this with the garland-theme and the yaml-theme on a new drupal-installation (just the core without any other contributed modules). Drupal is installed into the sub-folder "drupal-core" in the htdocs. After the installation of sf_cache I just activated the replacement of support files through their bundles.

It seems to be a bug in the output of the background-image urls. For example the url of the #header_region in the garland theme before turning on the replacement was:

url(images/bg-navigation.png)

After turning on the replacement the url changed to:

url(//drupal-core/drupal-core/themes/garland/images/bg-navigation.png)

Additional yslow tells me that non of the background images is loaded because it is looked for them in the wrong urls. Please have a look at the screenshot.

CommentFileSizeAuthor
urls.jpg240.2 KBsmitty

Comments

kkaefer’s picture

Status: Active » Postponed (maintainer needs more info)

Please post your sf_cache settings as well. Otherwise I can only guess.

smitty’s picture

Which settings do you mean? As told I use the out-of-the-box-settings of sf_cache as they are after installation. I didn't change anything except turning on the replacement. Either no bundles (because Logging is tuned off by default) or autodetected bundles (in the yaml-theme). Anything else you want to know?

kkaefer’s picture

This might have been fixed in the most recent version of sf_cache in the dev branch. Please check.

smitty’s picture

Sorry for the delay! Had a lot of other things to do.

No, the problem isn't fixed with the newest dev-version.

wim leers’s picture

Title: Css-Images do not load » CSS background images do not load
Project: Support File Cache » BundleCache
Version: 5.x-1.1-a » 6.x-1.x-dev
wim leers’s picture

Title: CSS background images do not load » Css-Images do not load