Sunday 15 August 2010

apache - about mod_pagespeed & insights configuration -


I just installed mod_pagespeed for apache on my VPS server. It has 2 GB RAM and 2 2.6 GHz CPU. Everything is fine. But I can not configure filters to combine JS css files:

style.css and second_style.css_ etc.

Here is my current pagespeed.conf file.

  Load Module PagePad_module module / mod_pagespeed.so & lt; IfModule pagespeed_module & gt; On ModPagespeedFetchWithGzip on SetOutputFilter deflate AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text ModPagespeed / HTML ModPagespeedRewriteLevel CoreFilters ModPagespeedFileCacheSizeKb 102,400 ModPagespeedFileCacheCleanIntervalMs 3,600,000 ModPagespeedLRUCacheKbPerProcess 1024 ModPagespeedLRUCacheByteLimit 16384 ModPagespeedCssInlineMaxBytes 2048 ModPagespeedImageInlineMaxBytes 2048 ModPagespeedCssImageInlineMaxBytes 2048 ModPagespeedJsInlineMaxBytes 2048 ModPagespeedCssOutlineMinBytes 3000 ModPagespeedJsOutlineMinBytes 3000 ModPagespeedEnableFilters lazyload_images, insert_dns_prefetch, combine_css, collapse_whitespace, resize_images, recompress_images, rewrite_javascript, resize_images , Recompress_images, outline_css, inline_javascript, move_css_above_scripts, move_css_to_head, rewrite_css, elide_attributes, defer_javascript, & lt; File match ". (Jpg | jpeg | gif | png | js | css) $" & gt; Header set the header header set-up to "public, maximum-age = 600" and  & lt; Place / mod_pagespeed_beacon & gt; SetHandler mod_pagespeed_beacon & lt; / Location & gt; & Lt; Location / mod_pagespeed_statistics & gt; Allow the order, Allow from localhost Allow 127.0.0.1 to setholder mod_pagespeed_statistics & lt; / Location & gt; ModPagespeedMessageBufferSize 100000 & lt; Place / mod_pagespeed_message & gt; Allow from local host 127.0.0.1 to setholder mod_pagespeed_message & lt; / Location & gt; & Lt; Place / mod_pagespeed_referer_statistics & gt; Allow from localhost 127.0.0.1 From 78.191.55.81 to setholder mod_pagespeed_referer_statistics & lt; / Location & gt;   

Where am I wrong?

In addition to this, if you examine this result; I have some offers in Google :) Enter image details here

Thanks a lot .

I do not think that you are actually killing your filter, you are using Corfilter

  ModPagespeedRewriteLevel CoreFilters   

If you want to use custom filter

  ModPagespeedRewriteLevel PassThrough   



No comments:

Post a Comment