Move poll path out to a variable
Add cache headers to static pages and images