Viewing 15 replies - 16 through 30 (of 43 total)
  • Thread Starter Nic Windley

    (@nisiwi)

    The fix was simple and it was a character encoding problem.

    Just add

    AddDefaultCharset utf-8

    to your htaccess file in the wp-content/cache/page_enhanced folder and voila problem resolved!

    I hope Frederick adds this to future releases.

    I don’t have that folder 🙁

    Thread Starter Nic Windley

    (@nisiwi)

    If you have Disk: Enhanced then that folder gets created bt W3TC. Otherwise if its not enabled you probably won’t have that folder.

    @nisiwi-

    Your solution to add
    AddDefaultCharset utf-8

    to the htaccess file in the wp-content/cache/page_enhanced folder seems to have worked for firefox and safari, but not chrome, even after clearing the browser cache.

    Rob

    Thread Starter Nic Windley

    (@nisiwi)

    It works in all browsers as its a standard characterset robnalexpress, not browser specific. Make sure you clear the cache in Chrome using Clear browsing data – Empty the cache and then reload the page while holding shown Shift key to ensure it forces a new page build.

    @nisiwi- I revisited the site after a couple hours, and getting your post, and it’s now fine in chrome.

    Thanks so much for posting this solution- it’s great to have Disk Enhanced page caching working again. I’ll implement your fix on my other sites tomorrow!

    Rob

    @nisiwi-

    I just tried this fix on another site, and again I can’t see the results in chrome! Tried clearing the cache as you suggested, using Clear browsing data – Empty the cache and then reload the page while holding shown Shift key, and no joy- still seeing the funky characters.

    Rob

    Thread Starter Nic Windley

    (@nisiwi)

    what about other caches like cloudflare ?

    I don’t use cloudflare. This is really bugging me! Pages are displaying fine on every other browser, including chrome on my notebook. I even did a ipconfig/flushdns from CMD prompt. Insane- it’s gotta be a chrome issue.

    Rob

    Thread Starter Nic Windley

    (@nisiwi)

    not if its working on your notebook with Chrome

    have you cleared cookies also ? if not try that (a complete clean) as I’ve found sometimes a corrupt cookie can cause problems

    Clearing the cookies fixed it! Who would have thunk it?! Thanks, again, Nic!

    Note to other users of the above fix:

    If you empty your W3TC page cache after adding “AddDefaultCharset utf-8” to the htaccess file in the wp-content/cache/page_enhanced folder, you may get a W3TC warning that new rules need to be written to the file. If you click auto-install, it will overwrite the change and you’ll be back to square one, so just click “hide this message” and ignore it.

    Rob

    FWIW, I just upgraded 3 other sites to version, 0.9.2.8, fully expecting to have to use the above fix, however my sites that have a static front page do not have this issue- it’s only on the sites that have a blog index on the front page.

    UPDATE: Posted too soon- I’m seeing it on the other sites now too.

    Rob

    I have this problem too and the UTF-8 code is already in the htacess. When I clear the cache the page appears fine and on the next load it is all characters. The problem has to be related to something else. Compression is turned completely off. I have switched to basic mode.

    # BEGIN W3TC Page Cache cache
    AddDefaultCharset utf-8
    Options -MultiViews
    <Files ~ "\.(html|html_gzip|xml|xml_gzip)$">
      Allow from all
    </Files>
    AddDefaultCharset UTF-8
    FileETag MTime Size
    <IfModule mod_expires.c>
        ExpiresActive On
        ExpiresByType text/html M604800
    </IfModule>
    <IfModule mod_headers.c>
        Header set X-Pingback "http://rashaentertainment.com/xmlrpc.php"
        Header set X-Powered-By "W3 Total Cache/0.9.2.9"
        Header set Vary "Cookie"
        Header set Pragma "public"
        Header append Cache-Control "public"
    </IfModule>
    # END W3TC Page Cache cache

    Hello all, do you know if this issue is resolved with the current update 0.9.2.9?

    Kind regards

Viewing 15 replies - 16 through 30 (of 43 total)
  • The topic ‘page cache disk enhanced – Â characters appear’ is closed to new replies.