%&Thesis -jobname="Thesis"
% ^^This needs to be the 1st line of your Thesis.tex^^
%% Enable Binary Preamble Cache
%% Doc: http://www.ctan.org/pkg/mylatexformat
%% Usage: pdflatex -ini -synctex=1 -shell-escape -jobname="Thesis" "&pdflatex" mylatexformat.ltx Thesis.tex
\csname endofdump\endcsname
What follows here is the part that changes, ie. your chapters. All preceding "endofdump" will be compiled into a cache file.
%&Thesis -jobname="Thesis"
% ^^This needs to be the 1st line of your Thesis.tex^^
%% Enable Binary Preamble Cache
%% Doc: http://www.ctan.org/pkg/mylatexformat
%% Usage: pdflatex -ini -synctex=1 -shell-escape -jobname="Thesis" "&pdflatex" mylatexformat.ltx Thesis.tex
\csname endofdump\endcsname
What follows here is the part that changes, ie. your chapters. All preceding "endofdump" will be compiled into a cache file.