<figure class=" img-handler-wide no-text-following"><img class="ugc-image landscape img-width-wide no-text-following" src="media/ugc/2016/10/xPanda-2-sm.933091606.jpg.pagespeed.ic.lP5zM2hKSP.webp"><!--Image does not appear to need resizing.--><!--The image was not inlined because you have chosen to only inline the critical images but this image is not critical.--></figure>
$ diff /etc/httpd/conf.d/pagespeed.conf /vendors/etc/httpd/conf.d/pagespeed.conf
89,95c89
< ModPagespeedEnableFilters collapse_whitespace,elide_attributes,trim_urls
< ModPagespeedEnableFilters resize_rendered_image_dimensions
< ModPagespeedEnableFilters remove_quotes,remove_comments
< ModPagespeedEnableFilters insert_dns_prefetch
< ModPagespeedEnableFilters dedup_inlined_images
< ModPagespeedEnableFilters defer_javascript
< #ModPagespeedEnableFilters debug
---
> # ModPagespeedEnableFilters collapse_whitespace,elide_attributes
150,153c144,145
< # Max int
< ModPagespeedFileCacheSizeKb 2147483647
< # Once in 20 years
< ModPagespeedFileCacheCleanIntervalMs 630720000000
---
> # ModPagespeedFileCacheSizeKb 102400
> # ModPagespeedFileCacheCleanIntervalMs 3600000
168c160
< ModPagespeedFileCacheInodeLimit 0
---
> ModPagespeedFileCacheInodeLimit 500000
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/d0c0768c-7158-4fc6-99e2-dbb288d3e9ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/086ea871-c7f7-44dd-a122-5d0f43d3138f%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/086ea871-c7f7-44dd-a122-5d0f43d3138f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/d01fa4ae-56f3-40d5-a5bc-08396388477f%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
-Josh
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/086ea871-c7f7-44dd-a122-5d0f43d3138f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
-Josh
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/086ea871-c7f7-44dd-a122-5d0f43d3138f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsubscri...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/d01fa4ae-56f3-40d5-a5bc-08396388477f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/0dabb453-d0ed-4b47-96e8-3f37c7cd4a34%40googlegroups.com.
-Josh
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/5ad466be-3ff9-41b5-9a66-edb4f6effa70%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/086ea871-c7f7-44dd-a122-5d0f43d3138f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mod-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/d01fa4ae-56f3-40d5-a5bc-08396388477f%40googlegroups.com.
Superb :-)
We'll keep you updated.
-- You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/N8g_Vh2mdkg/unsubscribe. To unsubscribe from this group and all its topics, send an email to mod-pagespeed-di...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/e20f10ce-bb07-48db-b1db-7d43b77bdc3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Superb :-)
We'll keep you updated.
On 14/11/2016 14:48, 'Huibao Lin' via mod-pagespeed-discuss wrote:
The 'width' and 'height' in <svg> tag specify the image dimensions. The <rect> tag after <svg> specify a rectangle. The 'x' and 'y' specify the offsets of the rectangle with respect to the image, and 'fill' specifies the color. Here since we're using a transparent rectangle (i..e, fill='none') the offsets have no visual effect. Setting them to '0' seems more reasonable.
On Sunday, November 13, 2016 at 9:12:33 PM UTC-5, jmarantz wrote:
browser coverage for SVG looks pretty good: http://caniuse.com/#feat=svg
Actually I'm not sure what the x & y tags are -- a teammate passed me this snippet. I would think they might be an offset into the rendering, but that would be a no-op for a transparent image. Maybe best to set them x=0 and y=0.
-Josh
-- You received this message because you are subscribed to a topic in the Google Groups "mod-pagespeed-discuss" group. To unsubscribe from this topic, visit https://groups.google.com/d/topic/mod-pagespeed-discuss/N8g_Vh2mdkg/unsubscribe. To unsubscribe from this group and all its topics, send an email to mod-pagespeed-discuss+unsub...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/mod-pagespeed-discuss/e20f10ce-bb07-48db-b1db-7d43b77bdc3f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
The svg suggestion improves things drastically. It both solved the flickering and simplified the JS.We are now experiencing two problems with the implementation.
- The image onload event is fired extremely delayed. I think it is captured by MPS and is delayed (until the onload?). Take a look at it on http://www.americancivilwarforum.com/not-sure-if-my-uniform-is-an-authentic-civil-war-calvary-uniform.-31092.html Important -- This is a live (small) site we have, so we can keep the prototype there only for a short while!
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js" data-pagespeed-no-defer></script>
<ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-0574877161340944" data-ad-slot="1469505919" data-ad-format="rectangle"></ins>
<script data-pagespeed-no-defer>function protectAdsenseMobileATF(ad,isTest){if(isMobile()&&window.innerHeight-ad.getBoundingClientRect().top>100){if(isTest)ad.className="test_ad vertical";else
ad.setAttribute("data-ad-format","auto");}}protectAdsenseMobileATF(document.querySelector("ins[data-ad-slot='1469505919']"),0);</script>
<script data-pagespeed-no-defer>(adsbygoogle=window.adsbygoogle||[]).push({});</script>