Open source. Travel. Photography. https://himpfen.com/
Image for post
Image for post
Photo by Sara Kurfeß on Unsplash

1. Adjust Your Tweet Character Size


Image for post
Image for post
Photo by Glenn Carstens-Peters on Unsplash

1. Advertising


Image for post
Image for post
Photo by Kelvin Ang on Unsplash

Install Apache Tomcat 7

sudo apt-get update
sudo apt-get install tomcat7 tomcat7-docs tomcat7-admin tomcat7-examples
http://<ip address>:8080

Image for post
Image for post
Photo by Sara Kurfeß on Unsplash

1. Tweeting Too Little or Often


Image for post
Image for post
Photo by Science in HD on Unsplash

Installing NodeJS


Image for post
Image for post
Photo by Markus Spiske on Unsplash

Install Certbot

sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install python-certbot-apache

Install Let’s Encrypt SSL Certificates

sudo certbot --apache -d yourdomain.com

Image for post
Image for post
Photo by Clément H on Unsplash

Performance

General

  • HTTP/2 is being used
  • CDN is used for assets
  • CDN is used for static resources
  • Cookie-less domain used for static files
  • DNS prefetching is used
  • <link rel="preload" as="script">
  • <link rel="dns-prefetch">

Resources

  • JavaScript files combined into one file
  • JavaScript is minified
  • JavaScript is compressed
  • No inline JavaScript
  • CSS files combined into one file
  • CSS is minified
  • CSS is compressed
  • CSS has no use of @import
  • No inline CSS
  • HTML is minified
  • Static files are compressed with gzip or brotli
  • Static files are server-side…

Image for post
Image for post
Photo by Domenico Loia on Unsplash

Landmarks


Image for post
Image for post
Photo by Andrew Neel on Unsplash

Yahoo! YSlow Smush.it

GTmetrix

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store