[minor] Added a prefetch method for caching css and js files. Fixes #2