I have built up a performance critical Rails app I'm also not a designer and therefore I've bought a template from a good designer.
Now the templates look great but his non performance crap code is slowing my app down. I've googled around and read through the assets pipeline documentation but I can't figure it out how to add the template without performance issues.
What I thought about is: working with javascript_include_tags and stylesheet_link_tags, so this stuff would only gets loaded when people are surfing on those static pages.
Basically I don't want all the assets precompiled and loaded on every page refresh even if they are not used right now.
If I add the static page assets into vendor does this gets precompiled?
What do you think about that? Is there a better solution for my problem ?