I am facing a challenge with my iOS app that requires proxying through a private server (HTTP / HTTPS proxy). Every time I attempt to address this issue on the client-side, new problems arise. How can I use the back end to effectively solve this problem?
It is crucial that the proxying website supports various types of JavaScript. While using anonymizers like 2ip has been successful for websites without JS content, issues arise when trying to access sites like YouTube which have JS elements. Viewing video content becomes impossible in such cases. However, accessing sites with PHP content via a proxy poses no problems.
Question: What strategies can be implemented on the back end (regardless of technology) to efficiently proxy websites containing video content and JavaScript?