preload elements and plugins if file is loaded run from cache