parse dependencies of JS, HTML, and CSS files with caching