Quantcast
Channel: WordPress.org Forums » [W3 Total Cache] Support
Viewing all articles
Browse latest Browse all 19287

cybervirem on "[Plugin: W3 Total Cache] html 5 val : meta charset after first 512 bytes"

$
0
0

Hi there,

first of all, thank you for this brilliant plugin !

context : (w3tc 0.9.2.11)

the minified filenames (css and js) included just after <head> and before my php directives in header.php creates a so long string that my <meta charset/> comes after the first 512 bytes (which can't validate html5).

i've tried to use .htaccess (both in / folder et wp-contetn/cache/...) to set charset when files match, but it doesn't work (don't understand why)

i can't use manual configuration because of some css generated after the page is rendered and enqueued with wp_register/enqueued_style (so added to the bottom, which doesn't validate html5)

My question :

is there a deep secret or a good practice to add a peace of code to write "<meta charset.../>" before w3tc minified files ?

Besr regards

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


Viewing all articles
Browse latest Browse all 19287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>