Best thing to happen for my AMP enabled site
-
Why this plugin is awesome.
1) The plugin renders on the server side which is ideally more work for your server. But with proper caching implementation, this approach increases page speed as the client doesn’t have to load javascript on the client side.
2) The plugin adds on top of the existing gutenberg code block. Most of the syntax highlighters out there try to provide their own gutenberg block which makes it difficult to switch between plugins. For instance, I was using code syntax block plugin and I had to go to each post to convert them back to regular code blocks.
3) No client side scripts thus optimal for AMP enabled pages. As your AMP pages get cached on Google AMP cache anyway, your server has to generate pages rarely.
4) More theme options compared to other code block highlighters out there.
- The topic ‘Best thing to happen for my AMP enabled site’ is closed to new replies.