Making tables in LaTeX can be painful. All you need is a semi complex table with cells that have to span multiple rows/columns. What tools do you use to get around this complexity? Tabular? Tabularx? Are there others?


Question: put an html (scripted) menu in a separate file
Answer: So in conclusion this would be the only way to cache the menu individually (or any individual html elements) but bear in mind this would generate an extra http request the first time a user arrives at your site which may not be worth the 50k you're saving versus using serer side includes or php include()

$(function(){
    $("#menuholder").html("all the menu markup goes in here");
}) &lt;!-- inside menu.js


&lt;script src="menu.js"&gt;&lt;/script&gt;


&lt;div id="menuholder"&gt;&lt;/div&gt;