WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
W3 total cache problems with images/timthumb and font-face (2 posts)

  1. ihosely
    Member
    Posted 2 years ago #

    Hi

    I am having some troubles with the plugin:

    1. I activated the cdn (rackspace) and uploaded media, theme files. When I browse the site (preview mode) all post images that are displayed using timthumb doesn't show up. the timthumb itself script is hosted on the cdn and displayed from it, however, the image src for the script is still using the old url (mydomain.com/wp-content/uploads...). I don't know why it doesn't use the cdn url of the image

    ex:http://c355874.r74.cf1.rackcdn.com/wp-content/themes/city-desk/timthumb.php?src=http%3A%2F%2Fzajilnetwork.com%2Fwp-content%2Fuploads%2F2012%2F05%2F021.jpg&q=90&w=70&h=60&zc=1

    2. the second problem is that CSS font-face doesn't work when activating cdn. I tried to exclude the fonts files from being uploaded to the cdn, but it didn't fix the problem.

    3. one last thing: activating minify breaks javacript. any specific tips or options to consider when minifying js?

    http://wordpress.org/extend/plugins/w3-total-cache/

  2. Frederick Townes
    Member
    Plugin Author

    Posted 1 year ago #

    Timthumb is not compatible with CDN implementations. You have to be careful to make sure your font files are loading from the CDN with the correct headers and paths. You probably need manual mode for minify if you can't debug the JS yourself. Lots of plugins simply cannot be minified and W3TC uses a minify library which is available for any developer to test against if they care about web performance optimization - W3TC cannot magically make incompatible code work unfortunately.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic