Commit Graph

4792 Commits

Author SHA1 Message Date
Huibao Lin c591621b2e Expose the option of try_best_compression_for_png 2017-03-08 16:23:13 -05:00
Maks Orlovich 5300d22fa1 Log errors if serf error rate seems too high. (#1507) 2017-03-08 13:22:06 -05:00
Maks Orlovich 3f8b6cc3c8 Disable CSS (really font CSS in practice) inlining on AMP. (#1499)
* Disable CSS (really font CSS in practice) inlining on AMP.

Ref: https://github.com/pagespeed/ngx_pagespeed/issues/1382

* Try to deflake the font inlining test some
2017-03-08 12:21:11 -05:00
Maks Orlovich 8488f6db18 - Update libpng to 1.2.57 (#1509)
- Update RE2 to newest version, mostly to pick up a gcc 6.0/6.1 compatibility
  fix (reported in our issue #1504
2017-03-07 10:26:48 -05:00
Otto van der Schaaf 1e1d7a31ea Clean the response headers when sending kNotInCache (#1497)
When we send out a 501 in the IPRO path for a http cache
hit, clear the response headers so we do not leave
behind stray headers.

Fixes https://github.com/pagespeed/mod_pagespeed/issues/1496
2017-02-21 17:09:09 +01:00
Otto van der Schaaf 9394a38c7d Add an anchor for "Configuring SSL Certificates" (#1495) 2017-02-16 19:20:57 +01:00
Maks Orlovich 0cb8dad051 Basic CSP parsing and representation. (#1493) 2017-02-13 12:10:58 -05:00
Jeff Kaufman a41cdab05e standby: add standby mode (#1482)
* standby: add standby mode

In standby mode PageSpeed is off, except it serves .pagespeed. resources and
PageSpeed query parameters are interpreted.  This is equivalent to "off" in
mod_pagespeed.

With this change, "off" in mod_pagespeed is deprecated, and people should use
"standby" instead.

* add test file

* rewrite doc

* get tests to pass under memcached

* doc: minor display tweak
2017-01-25 13:22:59 -05:00
Maks Orlovich 478fb85224 A simple script to collect slurp dumps for loadtest, (#1473)
* A simple script to collect slurp dumps for loadtest,
with help of PhantomJs
2017-01-20 16:16:54 -05:00
Jeff Kaufman c50a93f2e8 Update our copy of the public suffix list (#1477)
Update our domain-registry-provider dependency to pull in an updated copy of the public suffix list.  This imports https://github.com/pagespeed/domain-registry-provider/pull/6

The steps for doing this in the future are documented at https://github.com/pagespeed/mod_pagespeed/wiki/Updating-the-Public-Suffix-List
2017-01-17 07:40:59 -05:00
Jeff Kaufman bd64bde554 doc: use HTTPS for LazyloadImagesBlankUrl (#1476)
Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1358
2017-01-17 07:38:24 -05:00
Jeff Kaufman 7427b368e9 doc: move doc to html/doc in preparation for landing page work (#1478) 2017-01-13 10:16:30 -05:00
Jeff Kaufman b8576200b4 release: open source extract_so_from_deb (#1475) 2017-01-11 15:49:18 -05:00
Jeff Kaufman 6a15917500 build release tarball: open source it (#1474)
* build release tarball: open source it

* change it from being given a branch to working on the current checkout
* change it to work with create_distro_tarball, which was already opensourced
* make it build openssl 1.0.2 if needed

* doc ubuntu 14 dep
2017-01-11 15:19:44 -05:00
Jeff Kaufman 58c175ca32 memory profiling: export lots_of_vhosts.sh (#1472) 2017-01-10 10:53:59 -05:00
Jeff Kaufman 4a05c62329 doc: move doc references to modpagespeed.com (#1469) 2017-01-06 15:14:24 -05:00
Jeff Kaufman 41513b3131 Check in modpagespeed.com:/var/www/scripts/install_examples.sh (#1471) 2017-01-06 15:07:01 -05:00
huibaolin 3f8624a29a Add images for blogpost. These images won't be optimized by PageSpeed (#1470) 2017-01-06 14:22:41 -05:00
Jeff Kaufman 790a7c434e doc: allow doc content to be wider if there's room (#1468) 2017-01-05 15:31:31 -05:00
Jeff Kaufman 6f37179e9f doc: open source docs (#1464) (#1465) (#1459)
* open source docs
* remove old templating system
* format docs
2017-01-05 11:00:35 -05:00
Maks Orlovich a41abdce24 Release various benchmarks scripts using 'siege' (#1454)
(I didn't try to integrate compiling 3.0.8 here since it looked a bit too
 complex to include in this CL).
2016-12-20 15:53:09 -05:00
Maks Orlovich 7639b3d9ba Update the BoringSSL instructions to match current paths, (#1457)
submodule update directions (thanks to Steve to help with that!)
2016-12-20 15:52:51 -05:00
Maks Orlovich 6d12e0bc1a Incorporate review feedback 2016-12-20 15:51:32 -05:00
Maks Orlovich cb68849324 Adjust file list for 34/master. 2016-12-20 15:51:32 -05:00
Maks Orlovich 7dd0a4ccd9 Import the script used to prepare tarball for experimental packages (#1449)
Import the script used to make release tarballs,
with a few fixed and an additional mode used for the experimental packages for Debian.
2016-12-20 15:51:32 -05:00
hillsp 22ec60e9f0 Explicitly checkout the build branch (#1456) 2016-12-20 15:23:00 -05:00
Jeff Kaufman 7b58623ca2 travis: send emails to new pagespeed-ci group instead of individual devs (#1452) 2016-12-19 13:44:14 -05:00
Jeff Kaufman f61c3a5c4e devel: fix flakes in build_development_apache (#1451)
build_development_apache.sh flakes about 21% of the time, due to the apr
makefile not handling parallelism properly when running the install target.
Explicitly set -j1 when installing apr.

Fixes pagespeed/ngx_pagespeed#1338
2016-12-19 10:46:13 -05:00
Jeff Kaufman 5e6fbf5108 travis: add -luuid so we can build with devel on travis (#1448)
This should fix the ngx_pagespeed build on travis, because the ngx_pagespeed build is using devel.

(This is actually something I had originally done as part of 91662d08a, but because part of that change involved removing our exporting tools I hand-exported the change and missed this file.)
2016-12-19 10:45:50 -05:00
Jeff Kaufman e02a3f6a35 Rewrite check_tests_are_run.sh to be simpler. 2016-12-15 09:14:52 -05:00
Jeff Kaufman d55c2d7a2c licensing: correct license comments (#1447)
* many files had no license comments at all
* some files had license comments suggesting that they weren't open source
  (like a terse "all rights reserved") when they actually are open source.
* all our files are licensed under apache and should be marked as such
2016-12-12 10:16:54 -05:00
hillsp f5922ee4bc Minor bugfixes observed when cutting the release (#1445) 2016-12-09 11:01:06 -05:00
Jeff Kaufman 96f16f32cc ngxpagespeed.com configuration: fix /install (#1444)
ngxpagespeed.com/install serves a redirect to build_ngx_pagespeed.sh on github.  Now that we develop on master and trunk-tracking is gone, fix it to point at master.

Already fixed (manually) on the live site.
2016-12-08 14:07:43 -05:00
hillsp ac71cb763f Update README.md 2016-12-08 10:52:34 -05:00
Jeff Kaufman 91662d08ae devel: open source google's mod_pagespeed development tools
These are the scripts and Makefiles we've been using to develop mod_pagespeed.  These were in a google-internal repo instead of being open sourced for complicated internal reasons, but now mod_pagespeed developers inside and outside google can use the same tools and flow.

This change adds a bunch of make targets.  To see them, look at the big comment at the top of devel/Makefile.  To run them, cd to devel/ and run make:

   cd devel/
   make apache_debug_smoke_test

This change also adds 'checkin' tests, which are a way to run all our tests together, so we can be confident a change doesn't break any of them.  To run checkin tests:

   cd devel/
   ./checkin

They're pretty slow: about 2hr on my machine.  Definitely don't bother runnning checkin tests until unit tests and system tests have passed first.
2016-12-06 09:18:26 -05:00
Maks Orlovich a99ea36b31 Provide a custom allocation wrapper for libpng, that mostly just uses
malloc, but makes sure that padding bytes at very end are deterministically
zero.
Reason: Testing on native builds on Debian Sid suggested that *something* in
our compression stack was apparently letting some of the padding bytes
influence the output. (Noticeable on PngOptimizerTest.ValidPngs).
This works around the issue.
2016-12-05 12:33:54 -05:00
Maks Orlovich 06fb3c1604 libpng1.6 compat: don't call png_read_update_info twice.
(From libpng docs on changes in 1.6.x:
 "The library now issues an error if the application attempts to set a
 transform after it calls png_read_update_info() or if it attempts to call
 both png_read_update_info() and png_start_read_image() or to call either
 of them more than once.")
2016-12-02 13:31:08 -05:00
hillsp 1956099022 Switch travis.yml to new build system, clean it up (#1440) 2016-12-01 12:04:40 -05:00
hillsp bc2234bd85 Whoops, fix jenkins link not just badge URL 2016-12-01 11:12:31 -05:00
Steve Hill 76ef77d36f Allow debug release builds, plus some other build cleanups. 2016-11-30 15:54:01 -05:00
Chris Fredrickson 4e3ead31cf Fix a data race in CacheBatcherTest. 2016-11-30 14:43:19 -05:00
Steve Hill 3f4df27025 Update libraries 2016-11-30 14:41:35 -05:00
Steve Hill aebb4f6931 Mark CentralController as Experimental 2016-11-30 14:41:15 -05:00
Joshua Marantz 69a40de884 Rename the non-const version of output_partition(i) to
mutable_output_partition(i) and change call-sites as needed.

Add an AtomicBool used for checking that we should not be modifying
the CachedResult in a RewriteContext after it is serialized to the
cache, and a new private method RewriteContext::CheckNotFrozen() to
check it.
2016-11-29 16:52:23 -05:00
Steve Hill 325a4b6b89 Add build_on_vm.sh 2016-11-29 16:06:25 -05:00
Maks Orlovich d5ba802b7a Fix some typos caught by lintian 2016-11-29 11:00:44 -05:00
hillsp 208c440fd1 Delete old mobilize genfiles (#1439) 2016-11-28 14:55:16 -05:00
hillsp f305bc2f2f Update README.md for new Jenkins IP 2016-11-28 13:45:47 -05:00
Steve Hill 636ecc4e76 Remove explicit copy ctor/copy assign operator from UnicodeText::const_iterator 2016-11-28 10:42:55 -05:00
Steve Hill aaa7400ebc Fix --verbose flag for build_release. Allow 32-bit builds in travis. 2016-11-28 10:40:08 -05:00