This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Andy Fuchs
Posted Aug 12 - Read on Facebook

Is there a way to speed up launching a framer project in the browser?
For me it takes 15 seconds delay - on every refresh -, while the project re-compiles the 'app.coffee' (Coffeescript.loadProject(app.coffee)), although the generated files are already there...
Any hint?
Thx, andy

2 Comments

Andy Fuchs

Maybe anybody of the Framer folks can give me a hint?

Andy Fuchs

OK - here's what I did to speed up loading my finished prototype:

I commented the coffeescript file from index.html:
<!--script src="framer/coffee-script.js"></script-->

and changed the loadProject to this:

function loadProject() {
document.addEventListener("DOMContentLoaded", function(event) {
var script = document.createElement('script');
script.src = "app.js";
document.body.appendChild(script);
})
}

Enjoy!

Read the entire post on Facebook