Question

I follow this way compression 1 and compression 2

how to compression with mod_deflate? I've followed the above link and success to compress but browser can not read compression? I get an error when I open the css and js files in a browser!

SyntaxError: illegal character

��{{�F�7���"ƫ

and

KÊO©¬NJLÎN/Ê/ÍKÑMÎÏÉ/²RN2H6II­�ó>å¿rŸ—Ï9?ýSúg½/úž;RSŸ‘‡™§çZV†¤ü”Êê¤Ääìô¢üÒ¼Ýäüœü"+å$ƒd“”ÔZ�

Response Headers

Connection  Keep-Alive
Content-Encoding    gzip
Content-Length  127
Content-Type    text/css
Date    Wed, 18 Dec 2013 07:15:22 GMT
Expires Fri, 17 Jan 2014 14:15:22 +0700
Keep-Alive  timeout=5, max=100
Last-Modified   Wed, 18 Dec 2013 13:17:18 +0700
Server  Apache/2.2.25 (Win32) PHP/5.3.26
Vary    Accept-Encoding
X-Powered-By    PHP/5.3.26

anybody please...thanks

Was it helpful?

Solution

It looks like you are compressing the code twice, once with PHP and once with mod_deflate.

Could this be the case?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top