Best way to optimize offline HTML?

29 views
Skip to first unread message

Guillaume Rossolini

unread,
Dec 15, 2015, 3:36:08 PM12/15/15
to mod-pagespeed-discuss
Hi,

We would like to pass some HTML to some form of PageSpeed and get back optimized results.

Here are a few use cases:
- landing page for new visitors, who are identified by the lack of a cookie or if they land on some predefined URL (mostly inlining stuff)
- email newsletter (mostly HTML cleanup)

I am aware of PSOL but it seems very complex for our use case and current technical know-how. Being able to call mod_pagespeed as a webservice would be easier.

Is it already possible?

Thanks,

Jeff Kaufman

unread,
Dec 21, 2015, 2:56:41 PM12/21/15
to mod-pagespeed-discuss
This isn't something PageSpeed really offers right now.

> landing page for new visitors, who are identified by the lack of a cookie
> or if they land on some predefined URL (mostly inlining stuff)

For this you could set up
https://developers.google.com/speed/pagespeed/module/downstream-caching
and use a cache between PageSpeed and the user instead of optimizing a
static site.

> email newsletter (mostly HTML cleanup)

HTML email is pretty different from HTML for browsers. A tool that's
specialized for email would probably do a much better job and be less
likely to include things that some email clients would reject. These
email-specific tools are also helpful with automating the kind of
inlining you need to do with your css for HTML emails.

Jeff

Guillaume Rossolini

unread,
Dec 22, 2015, 3:02:29 AM12/22/15
to mod-pagespeed-discuss
Ok thanks for the pointers.
Would love to see this, though (apart from the emails, which really are something else).

Regards,
Reply all
Reply to author
Forward
0 new messages