Title: W3 Total Cache   Minify   CDN   gzip encoding errors
Last modified: August 22, 2016

---

# W3 Total Cache Minify CDN gzip encoding errors

 *  [bradenschaeffer](https://wordpress.org/support/users/bradenschaeffer/)
 * (@bradenschaeffer)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/w3-total-cache-minify-cdn-gzip-encoding-errors/)
 * When WordPress Total Cache is configured to minify my `js` and `css` assets, 
   gzip them, then serve those assets from a CDN, I can get it working when I set
   it up from scratch pretty easily. However, about a week goes by, and (I am assuming)
   W3TC updates my cached assets but makes them unserveable.
 * In my console, I see `Invalid character '\u0031'` errors for a bunch of the cached
   assets, and I noticed that the assets aren’t being served with the `Content-Encoding:
   gzip` header, which leads me to believe that W3TC either isn’t setting the header
   correctly or isn’t encoding the assets correctly. (The files being served are
   unreadable in the browser so I’m assuming it’s just the header that’s not being
   set correctly to tell the browser to about the caches).
 * I end up having to disable the Minify cache, clear the Page and Minify caches,
   turn them back on, and wait for the caches to be redistributed to my CDN. Like
   I said, this happens about once a week without me making any changes to the `
   js` and `css` files being served.
 * Please help me figure this out because it’s driving me nuts.

The topic ‘W3 Total Cache Minify CDN gzip encoding errors’ is closed to new replies.

## Tags

 * [gzip](https://wordpress.org/support/topic-tag/gzip/)
 * [total cache](https://wordpress.org/support/topic-tag/total-cache/)
 * [W3TC](https://wordpress.org/support/topic-tag/w3tc/)

 * 0 replies
 * 1 participant
 * Last reply from: [bradenschaeffer](https://wordpress.org/support/users/bradenschaeffer/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/w3-total-cache-minify-cdn-gzip-encoding-errors/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
