Giter VIP home page Giter VIP logo

incubator-pagespeed-mod's Introduction

mod_pagespeed

logo

CI Status
Travis Build Status

mod_pagespeed is an open-source Apache module created by Google to help Make the Web Faster by rewriting web pages to reduce latency and bandwidth.

mod_pagespeed releases are available as precompiled linux packages or as source. (See Release Notes for information about bugs fixed)

mod_pagespeed is an open-source Apache module which automatically applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow.

mod_pagespeed is built on PageSpeed Optimization Libraries, deployed across 100,000+ web-sites, and provided by popular hosting and CDN providers such as DreamHost, GoDaddy, EdgeCast, and others. There are 40+ available optimizations filters, which include:

  • Image optimization, compression, and resizing
  • CSS & JavaScript concatenation, minification, and inlining
  • Cache extension, domain sharding, and domain rewriting
  • Deferred loading of JavaScript and image resources
  • and many others...

Demo

Try it modpagespeed.com
Slack https://the-asf.slack.com/archives/CJTG9RH9U
Read about it https://developers.google.com/speed/pagespeed/module
Download it https://modpagespeed.com/doc/download
Check announcements https://groups.google.com/group/mod-pagespeed-announce
Discuss it https://groups.google.com/group/mod-pagespeed-discuss
FAQ https://modpagespeed.com/doc/faq

Curious to learn more about mod_pagespeed? Check out our GDL episode below, which covers the history of the project, an architectural overview of how mod_pagespeed works under the hood, and a number of operational tips and best practices for deploying mod_pagespeed.

GDL Episode

incubator-pagespeed-mod's People

Contributors

ashishk-1 avatar cfredric avatar crowell avatar csemike avatar dev avatar dreamsorcerer avatar eldk avatar hallerm avatar hillsp avatar huibaolin avatar injust avatar jeffkaufman avatar jkarlin avatar jlporter avatar jmaessen avatar jmarantz avatar keesspoelstra avatar kmark avatar lofesa avatar minamijoyo avatar morlovich avatar mtorromeo avatar oschaaf avatar peterdavehello avatar sligocki avatar tomayac avatar vitaliytv avatar wernight avatar xqyin avatar yeputons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

incubator-pagespeed-mod's Issues

Do not warn on 'Failed to create or read input resource'

E.g.

 [Sat Nov 06 22:25:48 2010] [warn] Failed to create or read input resource /j15/templates/system/css/system.css

This is at best an "info" severity and probably could be eliminated entirely.  
It occurs in the combine_css filter whenever an input CSS file is not in the 
cache, either because this is the first time it's been seen, or because the 
input CSS file was not cacheable in the first place.

Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 12:07

Do not warn on "Invalid url relative to..."

This happens whenever a resource is loaded from another domain that the site 
owner has not authorized for rewriting.  The warnings clutter the logs and 
possibly reduce performance due to disk pressure.

We can, however, increment a statistic so we know the weight of the resources 
served from external sources.

Original issue reported on code.google.com by [email protected] on 6 Nov 2010 at 10:26

Support Windows Apache

not really a problem, more of a feature request, but would love to see this mod 
running on WAMP systems as well.

Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 5:09

insert_img_dimensions not detecting existing dimensions

What steps will reproduce the problem?
1. use default config with core filters insert_img_dimensions is enabled in the 
core filters

What is the expected output? What do you see instead?
added width and height for images when those attributes are missing.
instead width and height are added even when they already exist.

What version of the product are you using? On what operating system?
ubuntu 10.04.1 LTS 32bit

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 10:58

wrong file name in the download page

I found that in the page 
http://code.google.com/intl/zh-CN/speed/page-speed/download.html all file names 
start with "mod_pagespeed", but the name of file to download starts with 
"mod-pagespeed", for example 
https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-beta_current_i386.rpm

So, all "mod_pagespeed" in the download page should be replaced with 
"mod-pagespeed" or the name of files to download should be replaced with 
"mod_pagespeed".

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 4:32

rewrite_css filter incompatible with CSS3 media queries

CSS3 media queries get destroyed with the rewrite_css filter using 0.9.0.0-128.

For instance, this CSS:

@media screen and (max-width: 290px), screen and (max-device-width: 290px) {
    .selector {
        display: none;
    }
    .otherselector {
        display: block;
    }
}


turns into this after passing through the rewrite_css filter:

@media screen,and,screen,and{.selector{display:none}}@media 
screen,and,screen,and{.otherselector{display:block}}


Instead, it should be written like this I believe:

@media screen and (max-width:290px),screen and 
(max-device-width:290px){.selector{display:none};.otherselector{display:block}}


These media queries are very important for developing pages that render nicely 
on a wide range of devices (e.g. phones), so I hope that this gets fixed soon! 
In the meantime, I have disabled the rewrite_css filter.

Original issue reported on code.google.com by joe.lencioni on 8 Nov 2010 at 8:35

copy/paste error in inline JS docs

The description section in 
http://code.google.com/speed/page-speed/docs/filter-js-inline.html talks about 
CSS resources when it should refer to JS.

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 10:25

PNG being scanned as HTML

From: 
http://groups.google.com/group/mod-pagespeed-discuss/browse_thread/thread/2a909b
19159dfd37

>> [Thu Nov 04 14:29:39 2010] [error] [1104/142939:ERROR:net/instaweb/
util/google_message_handler.cc(54)] http://localhost/(PHP-generated
image request):1: Reached end of document without finding <body>
>>
>> I'm sure some of these could be fixed with some tweaking to the
configuration, but I thought I'd still put these in case it can be
helpful to the developers working on the module.

> Are you saying that you requested an image and it gave you this error 
message? That's good to know. It means that it was parsing that image as an 
html doc! I believe we choose which files to rewrite based on MIME type 
reported by Apache, do you think there would be any reason that this would have 
been reported as text/html or anything like that?

Thanks for your explanation of the error messages. The images are
generated in PHP and are loaded using a url ending in .php, but I set
the content-type HTTP header to image/png, so it shouldn't be an
issue.
Here are the response headers for one of the images that resulted in
the above error:

 Date   Fri, 05 Nov 2010 14:01:00 GMT
 Server Apache/2.2.16 (Ubuntu)
 X-Powered-By   PHP/5.3.3-1ubuntu9.1
 Last-Modified  Thu, 28 Oct 2010 14:01:40 GMT
 Content-Length 19548
 Content-Disposition    inline; filename="4.8_4896_7353x_4847_7305y.png"
 Cache-Control  max-age=7776000
 Expires        Thu, 03 Feb 2011 14:01:00 GMT
 Content-Type   image/png; charset=binary
 Vary   Accept-Encoding

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 3:32

Support for CSS @import

A feature request: Currently mod_pagespeed rewrites css that is pulled in with 
the <link> tag just fine, e.g.:

<link rel="stylesheet" type="text/css" 
href="http://www.mysite.com/mystylesheet.css" />

However, it could be nice it it would work with @import as well, e.g. 

<style type="text/css" media="screen">@import 
url(http://www.mysite.com/mystylesheet.css) ;</style>

We have a lot of sites that are using that pattern.

mod_pagespeed does not rewrite that in my end. If the current mod_pagespeed 
version is supposed to pick up @import I can provide some debug info.

Pagespeed version: 0.9.0.0-128

Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 3:55

Add Example config files

We should add example configurations for various situations (single domain, 
multiple domains, conservative rewriter set, liberal set, ...)

Original issue reported on code.google.com by [email protected] on 6 Nov 2010 at 12:37

spry menubar changed to bulleted list

What steps will reproduce the problem?
1. enable mod_pagespeed
2. load pages with menubar
3. menubar will get 'optimized' to bulleted list

What is the expected output? What do you see instead?
menubars appearance should not be changed by optimization

What version of the product are you using (please check X-Mod-Pagespeed
header)?

On what operating system? Ubuntu Linux x64 10.04.1

Which version of Apache? 2.2.14

Which MPM? prefork

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

www.stalkinglight.com exhibits the problem when mod_pagespeed enabled, but I 
have it currently disabled



Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 12:57

Non-rpm/deb Install process not documented

As mentioned on the HowToBuild wiki page and mailing list, HowToBuild does not 
explain how to install without a package manager, we have a method, but it 
isn't documented yet.

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 11:30

Some png images not loading

I am running mod_pagespeed on my test server at: http://173.236.56.78/

However, although it seems to be working properly (in the main), I have a 
slight issue with 3 png images which should appear above the menu bar at the 
top of the pages.

http://173.236.56.78/themes/enuukGreen/box1.png
http://173.236.56.78/themes/enuukGreen/box2.png
and
http://173.236.56.78/themes/enuukGreen/box3.png

The error log files show the following:
[Mon Nov 08 02:14:07 2010] [notice] 
[1108/021407:INFO:net/instaweb/apache/serf_url_async_fetcher.cc(684)] Fetch 
complete: http://173.236.56.78/themes/enuukGreen/box2.png
[Mon Nov 08 02:14:07 2010] [notice] 
[1108/021407:INFO:net/instaweb/util/google_message_handler.cc(29)] Fetch 
succeeded for 
http://173.236.56.78/themes/enuukGreen/img/ce.e83da904e479c9bcb226fa5df597d438.b
ox2,p.png, status=301
[Mon Nov 08 02:14:07 2010] [notice] 
[1108/021407:INFO:net/instaweb/apache/mod_instaweb.cc(247)] ModPagespeed 
OutputFilter called for request 
/themes/enuukGreen/img/ce.e83da904e479c9bcb226fa5df597d438.box2,p.png
[Mon Nov 08 02:14:07 2010] [warn] 
[1108/021407:WARNING:net/instaweb/util/google_message_handler.cc(32)] Fetching 
resource 
http://173.236.56.78/themes/enuukGreen/img/ce.2dcfd6f05b39680620e3a9be36004c50.b
ox3,p.png...
[Mon Nov 08 02:14:07 2010] [notice] 
[1108/021407:INFO:net/instaweb/util/google_message_handler.cc(29)] Fetch 
succeeded for 
http://173.236.56.78/themes/enuukGreen/img/ce.2dcfd6f05b39680620e3a9be36004c50.b
ox3,p.png, status=200


This is running on the latest mod_pagespeed, under Centos 5.5 - apache 2.2.3, 
with Zend Engine v2.2 and eAccelerator installed.

I did originally have php_speedy also installed and in use, but found that 
mod_pagespeed was struggling to access php_speedy's own cached files.

Original issue reported on code.google.com by rwap.services on 7 Nov 2010 at 11:22

Support for css @import

A feature request: Currently mod_pagespeed rewrites css that is pulled in with 
the <link> tag just fine, e.g.:

<link rel="stylesheet" type="text/css" 
href="http://www.mysite.com/mystylesheet.css" />

However, it could be nice it it would work with @import as well, e.g. 

<style type="text/css" media="screen">@import 
url(http://www.mysite.com/mystylesheet.css) ;</style>

We have a lot of sites that are using that pattern.

mod_pagespeed does not rewrite that in my end. If the current mod_pagespeed 
version is supposed to pick up @import I can provide some debug info.

Pagespeed version: 0.9.0.0-128

Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 3:55

  • Merged into: #48

Internal Server Error for 304 - not actually an error?

[Thu Nov 04 14:29:39 2010] [notice] [1104/142939:INFO:net/instaweb/
apache/mod_instaweb.cc(319)] ModPagespeed Response headers:\nHTTP/1.1
304 Internal Server Error\r\nX-Powered-By: PHP/5.3.3-1ubuntu9.1\r
\nLast-Modified: Thu, 04 Nov 2010 16:22:38 GMT\r\nX-Mod-Pagespeed:
0.9.0.0-128\r\n\r\n

Like bug 25, we seem to be saying that a 304 response is Internal Server Error 
(at least in logs).

Looks like Jan just found the solution.

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 3:45

url causes Apache to become unresponsive due to high load.

What steps will reproduce the problem?
1. The url http://torlac.com/Mihai_Torlac/rapita.html crashes the server every 
time I try to access it.

What is the expected output? What do you see instead?
It just crashes the server due to high load.

What version of the product are you using (please check X-Mod-Pagespeed
header)?
0.9.0.0-128

On what operating system?
RHEL5

Which version of Apache?
Apache/2.2.3


Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

The error_log file gets a few thousands lines of this error and continues until 
I kill apache:
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/apache/serf_url_async_fetcher.cc(632)] 
Initiating async fetch for http://torlac.com/Mihai_Torlac/rapita.html
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/util/google_message_handler.cc(29)] 
http://torlac.com/Mihai_Torlac/rapita.html: Couldn't fetch resource  to rewrite.
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/apache/serf_url_async_fetcher.cc(632)] 
Initiating async fetch for http://torlac.com/Mihai_Torlac/rapita.html
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/util/google_message_handler.cc(29)] 
http://torlac.com/Mihai_Torlac/rapita.html: Couldn't fetch resource  to rewrite.
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/apache/serf_url_async_fetcher.cc(632)] 
Initiating async fetch for http://torlac.com/Mihai_Torlac/rapita.html
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/util/google_message_handler.cc(29)] 
http://torlac.com/Mihai_Torlac/rapita.html: Couldn't fetch resource  to rewrite.
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/apache/serf_url_async_fetcher.cc(632)] 
Initiating async fetch for http://torlac.com/Mihai_Torlac/rapita.html
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/util/google_message_handler.cc(29)] 
http://torlac.com/Mihai_Torlac/rapita.html: Couldn't fetch resource  to rewrite.
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/apache/serf_url_async_fetcher.cc(632)] 
Initiating async fetch for http://torlac.com/Mihai_Torlac/rapita.html
[Mon Nov 08 06:11:26 2010] [notice] 
[1108/061126:INFO:net/instaweb/util/google_message_handler.cc(29)] 
http://torlac.com/Mihai_Torlac/rapita.html: Couldn't fetch resource  to rewrite.

This url is the only one that does this, other websites work without problem. 
The website was made with iWeb 3.0.1.

Original issue reported on code.google.com by [email protected] on 8 Nov 2010 at 12:28

How do we deal with non-standard ports?

Do we allow domain names to have port numbers? Do we restrict domain rewriting 
based on port?

Ex: is

ModPagespeedDomain www.example.com:81

allowed?

If we have

ModPagespeedDomain www.example.com

will we rewrite resources at http://www.example.com:81/...?

Original issue reported on code.google.com by [email protected] on 6 Nov 2010 at 1:12

transparency of inlined PNG image

What steps will reproduce the problem?
1. install mod_pagespeed
2. enable with CoreFilters et collapse_whitespace,elide_attributes
3. HTML page with little transparent PNG (900B ~)

What is the expected output? What do you see instead?

transparency of PNG image is broken, transparency is black.

What version of the product are you using (please check X-Mod-Pagespeed
header)?

X-Mod-Pagespeed:0.9.0.0-128


On what operating system?
Linux Debian 5.0.6

Which version of Apache?
2.2.9-10+lenny8

Which MPM?
apache2-mpm-worker

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

original: http://web.directnom.com/
with pagespeed (source copy): http://web.directnom.com/PAGESPEED/index.html

so it's now disabled.

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 11:00

rfc - generated cache names are too long

What steps will reproduce the problem?
1. create a whole lot of css files
2. include them in a page
3. refresh so that the cache is generated

What is the expected output? What do you see instead?
a file name that the server can render. something like a hash and link the hash 
internally to that long string possibly 

error log:
[Thu Nov 04 01:29:33 2010] [error] [client 127.0.0.1] (36)File name too long: 
access to 
/cc.8d06446468a1b74b8b379d1462beb5a8.assets,_css,_960gs,_960,s+assets,_css,_admi
n_nav,s+assets,_css,_960gs,_uncompressed,_demo,s+assets,_css,_jquery_ui,s+projec
ts,_css,_projects,s+gallery,_css,_gallery,s+gallery,_css,_style_1,s+thickbox,_cs
s,_thickbox,s+contact,_css,_contact,s+comments,_css,_comment,s+filter,_css,_filt
er,s+tags,_css,_tags,s+debug_kit,_css,_debug_toolbar,s.css failed, referer: 
http://dogmatic69.dev/admin

What version of the product are you using? On what operating system?
mod_pagespeed 64-bit .deb ubuntu 10.10 x64 + 5.3.3-1ubuntu9.1 + Apache/2.2.16 
(Ubuntu)

Please provide any additional information below.
long file names generate a 403 Forbidden for anyone else that gets this

Original issue reported on code.google.com by dogmatic69 on 4 Nov 2010 at 2:02

Data URLs, such as those created by image inlining, clutter the log with spurious warning messages for downstream filters

For example:

[Sun Nov 07 00:33:25 2010] [warn] data:image/
png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAoCAYAAAB99ePgAAAQmElEQVQY07XPCTTV...CC
: Invalid url relative to
'http://www.arhiram.ro/index.php?q=stiri/2010/03/astazi-va-avea-loc-
procesiunea-de-florii-arhiepiscopia-ramnicului&page=82'

We should be detecting when the scheme is 'data' and skip the Domain validation 
check (and warning).

Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 1:37

After installing module server becomes unusable

What steps will reproduce the problem?
1. Install module and restart apache
2. Wait for a few minutes watching top
3.

What is the expected output? What do you see instead?
I expected server load to either remain the same or reduce.

What version of the product are you using (please check X-Mod-Pagespeed
header)?
0.9.0.0-128

On what operating system?
- Debian 5 64 bit, CentOS 5 32 and 64 bit

Which version of Apache?
- 2.2

Which MPM?
- prefork

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.
- I installed this across seven servers, running CentOS 5 32 and 64 bit, and 
Debian 5 64 bit (all Xen guests).  In every single case, after a few minutes, 
the load shot up to ridiculous levels like 60 to 90 and there were hundreds of 
apache process.  In the end I had to uninstall from all servers.

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 5:05

Compile failure under g++ 4.5 on opensuse 11.3

Comment by cycchow, Today (7 hours ago)
i can't compile it under opensuse 11.3 with the follow error message

/usr/include/c++/4.5/bits/stl_pair.h:77:11: error: ‘std::pair<_T1, 
_T2>::second’ has incomplete type
./net/instaweb/util/public/cache_interface.h:28:7: error: forward declaration 
of ‘struct net_instaweb::SharedString’
make: *** 
[out/Release/obj.target/mod_pagespeed_test/net/instaweb/util/cache_fetcher_test.
o] Error 1

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 3:13

Internal Server Error - Not actually an error

From: 
http://groups.google.com/group/mod-pagespeed-discuss/browse_thread/thread/2a909b
19159dfd37

[Thu Nov 04 14:29:39 2010] [notice] [1104/142939:INFO:net/instaweb/
apache/mod_instaweb.cc(299)] Request headers:\nHTTP/1.1 0 Internal
Server Error\r\nHost: localhost\r\n...

We have seen this as well during testing. I'm pretty sure is not actually a 
server error, but a bad header serialization. We currently use the same class 
for both Request and Response headers, and so the status code is initialized to 
0 for Request headers and never changed or used (only printed). This should 
have no actual affect on your server, but we'll try to get this fixed anyway so 
it's not so disconcerting/confusing :)

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 3:29

LogLevel seems to be ignored

What steps will reproduce the problem?
1. Apache LogLevel set to alert
2. ErrorLog fills with info and warning messages

What is the expected output? What do you see instead?
I would expect the module logging to respect the LogLevel definition; instead 
if seems to log anything.



On what operating system?
Debian 2.6.26-2-amd64


Which version of Apache?
Server version: Apache/2.2.9 (Debian)
Server built:   Nov 14 2009 21:07:23

Which MPM?
prefork

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.



Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 6:19

js_tinyMCE breaks when it's name is changed

What steps will reproduce the problem?
1. install mod_pagespeed
2. add this line to pagespeed.conf
    ModPagespeedEnableFilters rewrite_javascript
3. visit your site

What version of the product are you using (please check X-Mod-Pagespeed
header)?
revisiton 147

On what operating system?
archlinux

Which version of Apache?
2.2.17

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

I get these errors in firebug console:
invalid increment operand
[Break on this error] 
=this.cookie||(this.cookie=this.option...on(){this.lis.filter(".ui-state-proces
jm.67e...5395.js (line 21)
$(".calendar input").datepicker is not a function
[Break on this error] 
$('#fancybox-outer').css({'-moz-box-sh...on(){if(this.last_change===undefined)
jm.b6a...3360.js (line 61)

It seems the problem is in minified jquery-ui.js.


Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 9:27

Invalid url relative to '...'

Rewritten Images throw a warning in the apache error log.

[Thu Nov 04 11:49:56 2010] [warn] 
[1104/114956:WARNING:net/instaweb/util/google_message_handler.cc(32)] 
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABklBMVEWztb
UAAAAAAAAAAACytLSxs7PcDyH2Axn0Bx31Bx3zCh/yDiPwEyjwFSjvFSntGi3tGy6ipKSipaWsrq6sr6
+usLCusbGxs7OxtbWztrayt7evu7qxu7qwvLuuwcCryMWsycaqysiqzcr///+rrq6tr6+tsLDm5+jo6e
np6ur29vbuGSyrrq2srq6rr6+rsbDe3+De3+Hi4+Pj5OTk5ef+///pABDtAA3rABHsABLsABbvABWrra
3tARbuAxnxCR7wEyfxFSntGy7tHTDtIDHz9PTu7+/w8fLr7O3tHzLXLz7sLD7wLT7dP031NUbuQVD0Q1
LtTFzvTVvJbHTwY3DyY3D3YnC7kJSjpqX0eYSjqqq5oKHuhpCssbCrtbOrtrWrt7Wqt7avuLimwL7yl6
Cpwb/zmqP8oqvJ1tXxyM3/y9Df4OHk5eTp6enq6+zo7ezq7u7o9fTu8vHy9fXw9vbp+vrz9vb29/f4+P
nu//34+Pr4+vv2/Pzz/v3w///3///8/f34///5///9/f38///9//8a36QGAAAAI3RSTlMAMwAjAAC+AA
AAAAAAAAAA3sDApqfqrO8AAAAAAAAAAAAAAEKkePEAAADjSURBVHheRchjc8RQHEbxm2R3a9t4bpylUd
u2bdvu9+4/2870vDkzP1amuDnnFpdLnCyVjL+Oi37FDZ//0O/DHLTilHAEgkfBABbOcVrqILAQUlU1hL
2BCJZtaIKm67p2ibEovI6KSoKTPursenwQ3vLqWoIeu4v7pU6sVNWnEfTaXb10NR9sN2RkE3RTN8/7ia
n2xcycPALDMG6fXkcntlpa28x8goe7x/ePnVj/9O6sy+xgHJ9v319D8flwGJuSIDAF1ExyxN5qXXouK5
C5Z31yeGPNw5XCmsYsJgn/SaIo/gCiQTIwFo7+sAAAAABJRU5ErkJggg==: Invalid url 
relative to 'http://sub.mydomain.de/test.php'



What version of the product are you using (please check X-Mod-Pagespeed
header)?
On what operating system?
Which version of Apache?
Apache/2.2.14 (Ubuntu) PHP/5.3.2-1ubuntu4.5 with
          Suhosin-Patch mod_ssl/2.2.14 OpenSSL/0.9.8k

X-Mod-Pagespeed 0.9.0.0-128
Cache-Control   max-age=0, no-cache, no-store

Which MPM?
mpm/prefork


Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

HTML file is a simple test file just containing one img tag. Also the img 
dimension was not added to the code.


Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 11:01

Page speed running on debian with mpm-worker + fcgi causes lots of errors written to apache log

What steps will reproduce the problem?
1. Installed package, configured for with domain and turned on settings as 
below. 

What is the expected output? What do you see instead?
The /var/log/apache2/error.log filled up with this more than 11K lines per 
second.

[Thu Nov 04 09:28:50 2010] [error] [1104/092850:ERROR:net/instaweb/ 
apache/serf_url_async_fetcher.cc(674)] Poll success status 0 (111) 
[Thu Nov 04 09:28:50 2010] [error] [1104/092850:ERROR:net/instaweb/ 
apache/serf_url_async_fetcher.cc(674)] Poll success status 0 (111) 
[Thu Nov 04 09:28:50 2010] [error] [1104/092850:ERROR:net/instaweb/ 
apache/serf_url_async_fetcher.cc(674)] Poll success status 0 (111) 

What version of the product are you using? On what operating system?
1. Setup Lenny 32-bit + apache package 2.2.9 + MPM_worker + fcgid running php 
site 
2. Setup Pagespeed: ModPagespeedEnableFilters 
collapse_whitespace,rewrite_images,remove_comments 

Please provide any additional information below.


Original issue reported on code.google.com by john%[email protected] on 3 Nov 2010 at 10:50

CSS Not Loading

What steps will reproduce the problem?
1. Install
2. Setup a ServerAlias on Virutal Hosts
3. Try both URLs, one will not load the CSS file.

What is the expected output? What do you see instead?
Expected: It to load the CSS file.
Instead: The CSS file seems to be empty.

What version of the product are you using? On what operating system?
I'm using the latest revision as of 2:15 CST 3 Nov. 2010 on a Debian Linux 5.0.

Please provide any additional information below.
I am running Virtual Hosts with ServerAliases for "www." That's where this is 
failing. I did add domains as:
ModPagespeedDomain *.example.net

Original issue reported on code.google.com by lurous.productions on 3 Nov 2010 at 7:17

javascript with name rewriten not found

What steps will reproduce the problem?
1. enable mod_pagespeed for apache
2. visit the website
3.

What is the expected output? What do you see instead?
website work as usual.
website stop working because responses to some javascript are 404 not found. 
Those javascripts' name has been rewriten by mod_pagespeed.

What version of the product are you using (please check X-Mod-Pagespeed
header)?
revision 137

On what operating system?
centos/archlinux

Which version of Apache?
2.2.3/2.2.17

Which MPM?

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

My site worked again by adding these two lines to pagespeed.conf:

ModPagespeedDisableFilters rewrite_javascript
ModPagespeedDisableFilters extend_cache

Maybe just disable extend_cache is enough, I didn't test.


Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 9:00

when the server provides an Expires header, our cache extension may not work everywhere

In some configurations, Apache will add an Expires header to resources.

This can conflict with our cache extension headers, which use Cache-Control: 
max-age.

In most cases this is a non-issue since CC max-age is preferred to Expires per 
the HTTP/1.1 RFC.

However Firefox (through v4?) and HTTP/1.0 proxies will use Expires when both 
are present.

When an Expires header is present, we should overwrite it with a date that 
matches the value in the CC max-age header.

Original issue reported on code.google.com by [email protected] on 6 Nov 2010 at 11:57

extend_cache, not cache_extend

What steps will reproduce the problem?
1. use cache_extend as 
http://code.google.com/speed/page-speed/docs/filter-cache-extend.html says
2. invalid filter name
3.

Use extend_cache, which works.


Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 5:00

CentOS 5 32-bit Failed dependencies

What steps will reproduce the problem?
1. Download the 32bit rpm
2. Run rpm -ivh mod-pagespeed*.rpm

What is the expected output? What do you see instead?
Installation failed. Getting this message:
warning: mod-pagespeed-beta_current_i386.rpm: Header V3 DSA signature: NOKEY, 
ke                                 y ID 7fac5991
error: Failed dependencies:
        at is needed by mod-pagespeed-beta-0.9.0.0-128.i386

What version of the product are you using? On what operating system?
CentOS 5
2.6.30.5-xenU #1 SMP Tue Aug 18 04:19:12 UTC 2009 i686                          
        i686 i386 GNU/Linux


Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 5:02

Can't recognize ModPagespeedOutlineThreshold

What steps will reproduce the problem?
1. Install the rpm version
2. Follow the instructions on the document
3. /etc/init.d/httpd start

What is the expected output? What do you see instead?
http server should be started. However, this error message shown.
Invalid command 'ModPagespeedOutlineThreshold', perhaps misspelled or defined 
by a module not included in the server configuration

What version of the product are you using (please check X-Mod-Pagespeed
header)?
0.9.0.0-128

On what operating system?
Centos 5.4

Which version of Apache?
2.2.3

Which MPM?
prefork

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.


Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 1:22

mod_pagespeed does not optimize gzipped content that lacks 'gzip' header

[Wed Nov 03 22:36:10 2010] [warn] 
[1103/223610:WARNING:net/instaweb/util/google_message_handler.cc(51)] 
http://ntynomai.gr/wp-content/w3tc/pgcache//_index.html.gzip:1: Invalid tag 
syntax: unexpected sequence `<\xc9'

(about a tone of this on each request, with different sequence on every line)

I'm using modpagespeed on a wordpress site with wp total cache enabled 
(gzipping minified files).

Ubuntu 10.04.1 LTS

Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 11:07

Don't work with Drupal CMS due to parameters in stylesheet uri

Drupal adds parameters to stylesheet/javascript 
link like on the example below:
<link rel="stylesheet" type="text/css" media="all" href="stylesheet.css?U" />

this produces incorrect name for jointed files

What steps will reproduce the problem?
1. Just try to use this modulewith Drupal CMS installations

What is the expected output? What do you see instead?
N/A

What version of the product are you using (please check X-Mod-Pagespeed
header)?
mod-pagespeed-beta version 0.9.0.0-r128

On what operating system?
Ubunto 9.10

Which version of Apache?
Apache2.2

Which MPM?

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.



Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 11:42

ModPagepeedDomain typo

What steps will reproduce the problem?
1. Go to http://code.google.com/speed/page-speed/docs/using_mod.html
2. See the ModPagepeedDomain typo there.

What is the expected output? What do you see instead?
It should be ModPagespeedDomain instead. The 's'-peed is missing.

Original issue reported on code.google.com by fidlej on 4 Nov 2010 at 11:32

should not add 'public' to Cache-Control

We currently add 'public' to the Cache-Control header. This is unnecessary. See 
http://code.google.com/p/page-speed/issues/detail?id=9 for some background.

We should only add the max-age directive when extending cache lifetimes.

Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 12:04

CGI and PHP not being executed.

When I enable mod-pagespeed then CGI scripts just get dumped to screen and PHP 
files dont run - I get prompted to download a .PHTML file.

Original issue reported on code.google.com by [email protected] on 7 Nov 2010 at 7:15

A whole lot of HTTPD processes

What steps will reproduce the problem?
1. Install
2. Turn on
3. restart apache.

What is the expected output? 

Before enabling pagespeed the server normally has about 6 httpd processes, 

What do you see instead?
Once it's enabled there is about 30 all using between 1-2.5% cpu time.

What version of the product are you using (please check X-Mod-Pagespeed
header)?
X-Mod-Pagespeed=0.9.0.0-128

On what operating system?
Fedora 13

Which version of Apache?
Server version: Apache/2.2.16 (Unix)
Server built:   Jul 27 2010 15:58:08

Which MPM?

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.



Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 4:35

Does not appear to work with content served from Passenger

What steps will reproduce the problem?
1. Install/enable mod_passenger
2. Enable mod_pagespeed on a mod_passenger served site
3.

What is the expected output? What do you see instead?

Filters will function

What version of the product are you using (please check X-Mod-Pagespeed
header)?

X-Mod-Pagespeed: 0.9.0.0-128

On what operating system?

Ubuntu 8.04.3 LTS

Which version of Apache?

2.2.8

Which MPM?

I have tried both prefork and worker.

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.

I ensured that I added a wildcard value for ModPagespeedDomain that will match 
the domain I am testing on.  I left the default CoreFilters.  By looking at the 
source as well as the mod_pagespeed_statistics, I can see that it does not 
appear to be doing any processing on files served from Passenger.

These are all internal sites, however I'm hoping someone else with Passenger 
can provide a better example.

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 7:41

Duplicate css file names result in one 404 for the second css file

What steps will reproduce the problem?
1. inlcude two css files with the same file name but in different directories
2. include them in a page
3. refresh so that the cache is generated

What is the expected output? What do you see instead?
two hashed css files.

instead I get 404 Not Found for the second file.
If you inspect the file, you get redirected to a non existing one.
On my system the last directory was cut off.

1. file: /test/dir/one/file.css
2. file: /test/dir/two/file.css

got then: 
1. file: /test/dir/one/file.css
2. file: /test/dir/file.css 404 Not Found

What version of the product are you using (please check X-Mod-Pagespeed
header)?
mod_pagespeed 0.9.0.0-128 32-bit .deb, Ubuntu/10.04 x32 + PHP/5.3.2-1ubuntu4.5 
+ Apache/2.2.14-5ubuntu8.3

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.
Filter combine_css must be disabled

Original issue reported on code.google.com by [email protected] on 4 Nov 2010 at 12:12

  • Merged into: #3

Wont' install on MediaTemple's dedicated Virtual CentOS machines.

What steps will reproduce the problem?
1. download the rpm for the current mod_pagespeed-beta_current_i386.rpm on a 
Mediatemple Dedicated Virtual machine
2. try to install the rpm by using rpm -i mod-pagespeed-beta_current_i386.rpm

What is the expected output? What do you see instead?
I expected that the rpm would install properly.  Instead I recevied this 
message:
warning: mod-pagespeed-beta_current_i386.rpm: Header V3 DSA signature: NOKEY, 
key ID 7fac5991
error: Failed dependencies:
        at is needed by mod-pagespeed-beta-0.9.0.0-128.i386


What version of the product are you using? On what operating system?
My dedicated virtual machine runs CentOS 


Original issue reported on code.google.com by [email protected] on 3 Nov 2010 at 6:42

  • Merged into: #1

Very slow memory leak

mod_pagespeed appears to have a very slow memory leak, even with "ModPagespeed 
off".  I'm seeing memory growth around 400 bytes per request.  Probably not a 
blocking issue for anyone unless they have very high QPS or very long uptimes 
on their apache process.  (At 250 QPS this would be only 8MB/day).

Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 7:36

Resource double-encoded "cf.d41...7e.ce,od5...93,ostyle,,s,s.css"

What steps will reproduce the problem?
1. Enable mod_pagespeed on DreamHost VPS
2. Reload page
3. src attributes are messed up

What is the expected output? What do you see instead?

(brackets removed to avoid security filtering)
link rel=stylesheet media=screen type="text/css" 
href="http://mysite.com/css/cf.d41d8cd98f00b204e9800998ecf8427e.ce,ob256868a9324
 4a99784557e47350a6d0,ostyle,,s,s.css" 
(should be "/css/style.css")

script type="text/javascript" 
src="http://mysite.com/js/jm.802a2d00203636ecca34bd0154cb2842.jquery-1,o3,o1,omi
 n,l.js" 
(should be "/js/jquery.1.3.1.min.js")

script type="text/javascript" 
src="http://mysite.com/js/jm.b24e034c27e1ed8e45224bf36d7688b9.jquery,oform,l.js"

(should be "/js/jquery.form.js")

What version of the product are you using (please check X-Mod-Pagespeed
header)? not sure

On what operating system?
Linux version 2.6.33.7-vs2.3.0.36.30.4 (root@womb) (gcc version 4.3.2 (Debian 
4.3.2-1.1) )

Which version of Apache?
Apache/2.2.15

Which MPM?
unknown?

Please provide any additional information below, especially a URL or an
HTML file that exhibits the problem.
It's disabled right now.



Original issue reported on code.google.com by [email protected] on 5 Nov 2010 at 5:01

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.