Understanding configuration

14 views
Skip to first unread message

Björn

unread,
Nov 3, 2015, 11:12:29 AM11/3/15
to pagespeed-dev
Hello,

I'm new to mod_pagespeed and try to use it on a CentOS 6.7 with this release mod-pagespeed-stable-1.9.32.4-7251.x86_64.

I like to use the filters remove_comments and collapse_whitespace only for one virtual host. So I got the following configuration in this virtual host:
            <IfModule pagespeed_module>
                    ModPagespeedRewriteLevel PassThrough
                    ModPagespeedEnableFilters remove_comments
                    ModPagespeedEnableFilters collapse_whitespace
           
</IfModule>

When I understand correctly with PassThrough no filter will be enable except remove_comments and collaspe_whitespace. But with this configuration I missing images in the application.
The most weird thing is, when I disable remove_comments and collapse_whitespace the images are still missing.

So the passthrough Option doesn't work or do mod_pagespeed something else by default?

Thanks!

Björn

Jeff Kaufman

unread,
Nov 3, 2015, 11:34:55 AM11/3/15
to Björn, mod-pagespeed-discuss
-pagespeed-dev
+mod-pagespeed-discuss

Your understanding is correct. With that config PageSpeed should only
be removing comments and whitespace.

If you look at the html source of your page with PageSpeed on and look
for the tags for these images, what do they look like? Could you
paste them here, or share a link to your site?
> --
> You received this message because you are subscribed to the Google Groups
> "pagespeed-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pagespeed-de...@googlegroups.com.
> To post to this group, send email to pagesp...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pagespeed-dev/2c1a894a-62ba-4469-8b5d-9abd2c94d802%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Björn

unread,
Nov 19, 2015, 4:56:06 PM11/19/15
to pagespeed-dev, in...@bb-it.biz, mod-pagesp...@googlegroups.com
Am Dienstag, 3. November 2015 17:34:55 UTC+1 schrieb Jeff Kaufman:
-pagespeed-dev
+mod-pagespeed-discuss

Sorry!
 

Your understanding is correct.  With that config PageSpeed should only
be removing comments and whitespace.

If you look at the html source of your page with PageSpeed on and look
for the tags for these images, what do they look like?  Could you
paste them here, or share a link to your site?

Sorry again, the site isn't public at all.

I found something like:
<input type="image" src="image.gif.pagespeed.ic.skb55JoPUg.png"..



Reply all
Reply to author
Forward
0 new messages