make cache global, change compile option to string to match component-jade