By the way, the "cleanup" notebook in the experiment branch is a pure python version of the code which do not requires weave.

On Sat, Apr 29, 2017 at 5:28 PM, Kolen Cheung <christian.kolen-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

By the way, PageSpeed Insights can be useful to hunt down problems that makes your webpage slow. But don’t blindly follow all its advice. Some can never be fulfilled, or too compromised depending on your need.

On Saturday, April 29, 2017 at 5:26:42 PM UTC-7, Kolen Cheung wrote:

Oh, I don’t expect it to be so effective. (Perhaps that’s why John Gruber is the indie blogger, and the creator of markdown.)

Going back to accelerating pages in general, pandoc’s output is already very “accelerated”, meaning that it is very minimal and static.

Of course when you design a website, you will add your own js and css on top of pandoc’s output, and also add some banners / headers / etc.

The key of AMP is that they don’t allow js (apart from many other good practices). So you can mimic that too.

One interesting point is that if you use Google Analytics, Google Ads, Google Search, etc., they insert js to your page. (I don’t study AMP enough to see how they handle this.). So do DISQUS, and Facebook/Twitter badges, etc. If you googled it, people has suggested not to use the official provided badges but create your own static one (just an image with link).

Another note is that if you want to include Math in your webpage, where pandoc can handles it well, you might want to avoid using MathJax but some other solutions. Good alternatives are the --webtex, or jgm/pandoc-tex2svg: Pandoc filter to convert math to SVG using MathJax-node’s tex2svg, which makes the equations static.

On Saturday, April 29, 2017 at 5:01:31 PM UTC-7, supp…@rcdrun.com wrote:

On Sunday, April 30, 2017 at 2:04:45 AM UTC+3, Kolen Cheung wrote:

AFAIK I didn’t see people doing this (but I could be wrong). Just to point out some problems of AMP:

I agree on those considerations. Closed case for me.

--
You received this message because you are subscribed to a topic in the Google Groups "pandoc-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/pandoc-discuss/uzEEUzQAvMw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to pandoc-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to pandoc-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/aefedaf2-8b5f-48a4-ab4f-b64ef59390f7%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAOX6kG6cKJ5G7V4LeDQuvqKBZXmKKJouEXoer9DpBHrWa7Co%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.