Re: Lazyload Images & tracking pixels

97 views
Skip to first unread message

Joshua Marantz

unread,
Oct 17, 2012, 9:16:49 AM10/17/12
to mod-pagespeed-discuss
Not in *.0.22.*.

In the trunk, we have enhanced the filter to skip over img tags with the 'pagespeed_no_defer' attribute.

-Josh



On Wed, Oct 17, 2012 at 8:53 AM, Diego Araos <dar...@gmail.com> wrote:
Is there a way to disable LazyLoad of images for certain img elements? I cannot find a way in the documentation.

Thanks!

Jan-Willem Maessen

unread,
Oct 17, 2012, 1:19:45 PM10/17/12
to mod-pagesp...@googlegroups.com
On Wed, Oct 17, 2012 at 8:53 AM, Diego Araos <dar...@gmail.com> wrote:
> Is there a way to disable LazyLoad of images for certain img elements? I
> cannot find a way in the documentation.

I should add, in addition to Josh's reply, that if we're deferring
tracking pixels (1x1 or smaller, cache-control: private) that's a bug.
Your subject line suggests that this might be happening. If that's
true, could you send a pointer to a representative page?

Another possible workaround for this should be to blacklist the
tracking pixel urls. That should work in any release that supports
LazyLoad.

-Jan

>
> Thanks!

Jan-Willem Maessen

unread,
Oct 17, 2012, 5:04:09 PM10/17/12
to mod-pagesp...@googlegroups.com
It turns out this doesn't work, so right now your only option is to
build from source and add pagespeed_no_defer to your page. I've filed
a bug here:

http://code.google.com/p/modpagespeed/issues/detail?id=540

It looks like spotting tracking pixels in general may be difficult,
but there are likely to be simple things we can do to make this work
out of the box in most cases.

-Jan
Reply all
Reply to author
Forward
0 new messages