WordPress.org

Ready to get started?Download WordPress

Forums

W3 Total Cache
[resolved] Safari ignores CSS (6 posts)

  1. blau
    Member
    Posted 4 years ago #

    WP 2.9.2, W3TC dev. from 24 June, Cloudfront CDN, Minify.

    OSX Safari users (old and new versions) have reported that the site is displayed without CSS. After confirming the problem, I disabled Minify and emptied the cache, but still Safari discards the CSS.

    Tomorrow I will update W3TC to the latest dev. version, but I will not have immediate access to an OSX box for testing. Has this issue appeared before? What can the cause be?

    The site is http://www.nazioneindiana.com

    According to this thread there could be an issue of server PHP configuration for max_execution time or memory limit, but the correlation to Safari seems weak there.

    http://wordpress.org/support/topic/405900?replies=5

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

  2. blau
    Member
    Posted 4 years ago #

    Upgraded to latest dev version today, the problem is not solved. Safari displays a CSSless site, other browsers are ok.

    Tried disabling Minify, db caching, object caching, with no visible results.

  3. Hampster
    Member
    Posted 4 years ago #

    I see that you have 6 different css files, all of which were .gz compressed. Let's look at the first one:
    <link rel="stylesheet" type="text/css" href="http://static9.nazioneindiana.com/wp-content/themes/sandbox-kubrick-ni/style.css.gz" />

    You are have the attribute type="text/css" but sending it a .gz file. They are not the same. I believe the correct mime-type is "application/x-gzip". You might want to do a google search on this, but the server may also be sending incorrect header information.

    The rest of the css files have id's in their links. I'm not sure if that is appropriate either.

    I hope this helps.

    -Dave

  4. Frederick Townes
    Member
    Plugin Author

    Posted 4 years ago #

    Please try the latest development version of the plugin.

  5. blau
    Member
    Posted 4 years ago #

    Hi, sorry for being this late, but real life prevented me to work on this issue so far.

    Turns out Safari browser does not understand .gz extensions, but the issue is solved in the development version of the plugin which gives an .gzip extension to the css. Updated, tested, ok.

    Thank you Frederick for your great work.

  6. Frederick Townes
    Member
    Plugin Author

    Posted 4 years ago #

    That is already addressed in the development version of the plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic