einige CSS / JS werden nicht gezippt

Alles, was den Apache betrifft, kann hier besprochen werden.

einige CSS / JS werden nicht gezippt

Postby clubcola » 15. February 2015 11:07

Hallo,

ich habe in der apache2.conf folgenden Eintrag

Code: Select all
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
</IfModule>


Beim Test über pagespeed von Google zeigt er mir an das einige css und js nicht gepackt werden. 2 Datein werden gepackt, kann aber nicht erkennen warum die beiden und warum die anderen nicht

Eingebunden werden die Scripte/css via SSI - das habe ich ausgeschlossen das es daran liegen könnte.
Hier zwei Scripte die er nicht packt:

Code: Select all
<link href="css/style.css" rel="stylesheet" type="text/css" media="screen">
<link href="css/jquery_UI.css" rel="stylesheet" type="text/css" media="screen">


Habt ihr eine Idee?
clubcola
 
Posts: 1
Joined: 15. February 2015 11:02
Operating System: Apache

Return to Apache

Who is online

Users browsing this forum: No registered users and 15 guests