Fix wording in comment.
Fix clear_cache docs and add docstring.
Inline assets into styles when exporting.