some optimizations with cdn and stuff