use thin and middleware to prevent assets logging
add caches for index and category pages