WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
With CDN and gzip W3TC still links to uncompressed files (2 posts)

  1. marcelstoer
    Member
    Posted 1 year ago #

    After switching to CloudFront CDN my PageSpeed and YSlow rating dropped for two reasons:
    - JavaScrip/CSS are not compressed anymore
    - no cache expiration for images

    My site is http://frightanic.com. The CDN is at http://cdn.frightanic.com/.

    The rendered markup contains links like http://cdn.frightanic.com/blog/wp-content/themes/itheme2/js/carousel.min.js?ver=3.5.1 although http://cdn.frightanic.com/blog/wp-content/themes/itheme2/js/carousel.min.js.gzip?ver=3.5.1 does also exist. The S3 settings related to Content-Encoding as per http://goo.gl/SyjTo were set correctly by W3TC while uploading to Amazon.

    If I understand correctly W3TC is supposed to generate links to the .gzip files for user agents that support it?

    As for the caching issue I see that the response for http://cdn.frightanic.com/blog/wp-content/uploads/2013/02/javascript_the_good_parts.jpg has Last-Modified and Etag set which is ok IMO. PageSpeed, however, complains because Expires is not set. I guess there's nothing I or W3TC can do about this?
    Update: one needs to set the desired headers manually in S3.

  2. marcelstoer
    Member
    Posted 1 year ago #

    UPDATE I since switched to CloudFront origin-pull.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic