kshitij awadhiya
My feedback
1 result found
-
1 vote
Hey Kshitij! The reason our JavaScript is included in the main page is mostly because of how Splitwise /used/ to work a few years ago – we used to include a lot of customized code depending on exactly which user was loading the page. We’d like to move our JS code to a separate page sometime soon, mainly to improve page loading/caching performance.
Also, we may obfuscate our JavaScript code at some point in the future, but there’s no way to actually encrypt JavaScript in the browser – your browser has to be able to read the code in order to run it. Obfuscating JavaScript files can be useful for improving load time, since the file sizes are usually smaller, but we also enjoy keeping our code readable, especially since it lets other people look at your front-end code and learn how it works. (There isn’t any secure information in…
kshitij awadhiya shared this idea ·