Find Jobs
Hire Freelancers

Preload external Domains with Javascript (without showing the loading bar in the users browser)

$30-250 USD

Sürüyor
İlan edilme: 9 yıldan fazla önce

$30-250 USD

Teslimde ödenir
Merry first advent everyone! The Situation: We have a webpage on our server which basically is just a list of 10 links to external domains. What we want is a preloader, that loads ALL 10 domains in the background - before the user even clicks on it. When the user then clicks on a link, the target site is shown immediately, without any further loading. So basically we want to leverage browser caching to bring down load time. Requirements: -- the content of the 10 pages has to be loaded invisible in the background. They must not increase the "subjective load time" felt by the user when he lands on the first page. So we have to find a way to disable the "loading" symbol of the browser. -- when the user clicks a link, the content has to be shown immediately (not just fast, but instantly (0ms)) You can use frames. You can use all kind of dirty ajax/xss workarrounds that you want. You can use a server side proxy and PHP in general. The user has to stay on our domain to enable the 0ms load time. Be aware of some problems, like same origin policy. Biggest problem is not having the browser show the loading bar forever on the overview page when 10 sites are loaded in the background. It has to "feel" fast for the user at all times. Thanks for bids! Followup work available, fast communication and payment, interesting projects and we take good care of the people who work with us.
Proje No: 6831458

Proje hakkında

7 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 9 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
I was just working on a quick test code to see if i am able to do your project. I am able to do it and it seems to be a very fun challenge. Here is the structure of the project I have in mind : Serverside: - PHP proxy with caching capabilities Clientside: - A preloading function triggered at page loading, searching for hypertext links and triggering an ajax call to the proxy for each not already cached url. - The preloading function can also be triggered for the links found in the preloaded domain to bring some sort of recursive caching. Details: - The first role of the PHP proxy is to get rid of all sorts of XSS, Same-Origin, etc... protections. - His second role is to cache the proxified ressources and send proper HTTP headers (Cache-control / ETags) to bring up browser caching - It will take care of browser accept language to cache and serve internationalized versions of webpages - The role of javascipt is to make ajax calls to the proxy, avoiding loading symbol it will also be used to convert loaded ressources to data urls, including images, sylesheets... - Stylesheets will also be parsed to convert their imports to data urls - A global cache object will be used to store preloaded data. When a link will be clicked, the body innerHTML will be changed with the cached data. To resume all, the key concept is to use ajax and data urls to get rid of the browser symbol using cache whenever/wherever it is possible to keep things fast
$250 USD 3 gün içinde
5,0 (2 değerlendirme)
4,0
4,0
7 freelancers are bidding on average $236 USD for this job
Kullanıcı Avatarı
Hi I could create this engine with php curl to load the 10 domains server side (once per day for example), and an ajax call to preload into the browser this data after your page was loaded. Do you need to load all the pages from all the 10 domains and work as the user was on the domain.. or only the main pages? Ati
$200 USD 3 gün içinde
5,0 (34 değerlendirme)
6,5
6,5
Kullanıcı Avatarı
Hello, I am a Developer with good knowledge in WordPress, PHP, Software Architecture Javascript, Jquery and HTML5, CSS3 and Responsive. There would be no problem with my tempting for this project as I have a great deal of proficiency in this aspect of the program. It is also possible for me to translate designs and I have a good understanding of usability and appreciation for a good user experience. I have gone through the project description and I understood well and would like to speak to you once. Please check my profile review for your ready reference: https://www.freelancer.com/u/akash9958.html Looking forward to hearing from you. Thanks Akash
$170 USD 3 gün içinde
4,9 (59 değerlendirme)
5,4
5,4
Kullanıcı Avatarı
This could be done without using any proxy software and just use jquery to show/hide divs which have frames/iframes. Of course, you could also use AJAX/CSS/JQUERY with cross-domain and load them that way as well. This would give the "feel" of fast loading sites by having the first one loaded in the front and quickly, with the others hidden and loading in the background. It would also give the appearance of a single site. This would utilize their bandwidth (not yours). If you want an actual proxy solution that proxies the connections through your web servers, the sites won't actually load any quicker to the end user (it will still take the same amount of time to the end user regardless of it comes from you or the actual external site) and all you will do is create a bottleneck on your internet bandwidth. However, the approach being taken here is missing a component. If you really want to the sites to load from your servers you should put a caching reverse proxy in between the web server and the internet so that you only pull down updates to these sites once and then all the traffic is literally local (resides on the proxy server). You would still have a bandwidth bottleneck because you are actually displaying all the sites from your own connection, but they would load faster because they are coming from the proxy server. This assumes that your connection is faster than those you are pulling the sites from.
$222 USD 2 gün içinde
0,0 (0 değerlendirme)
0,0
0,0
Kullanıcı Avatarı
Hello, Thank you for the detailed description, I will be happy to code this preloading script for you. I believe I can make it work even in pure JavaScript, without server-side scripting help. I will likely complete the task in 7 days, your timely input will be appreciated whenever needed. I will make sure I deserve an excellent rating on this project. You will enjoy free support and free fixes (if needed) even after project completion. Would you mind, please, responding to my proposal so that we can discuss details of the project and get started? Thank you. Looking forward to working with you, George
$189 USD 7 gün içinde
0,0 (0 değerlendirme)
4,8
4,8

Müşteri hakkında

   GERMANY bayrağı
Fürstenfeldbruck, Germany
4,9
29
Ödeme yöntemi onaylandı
Haz 30, 2009 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.