I am currently working on my first small comercial projects in web development.
Performance is always crucial, so I would like to know what steps should I follow before putting my website on the server to make sure the performance is just the best it can be.
I have heard there are some tools which rename all variables in a project to one letter variables and also delete new line characters, so that only the minimum of data is sent via the Internet and that improves performance
I like to create smaller files as some modules and then put them in
index.php
like this:<html> <head> <?php include index_head.php ?> // here </head> <body> <nav> <?php include index_nav.html ?> // and here </nav> // and so on...
what that gives is of course you write the code once and then link it where you want... Does such use of
include
change performance?- Any other suggestions?