I have some PHP script that takes lots of time to execute (large amount of data to process).
Is there a way to offload the server by making some php functions execute in client-side (the browser) and than give the result to server side ?
Example: in my script I have a portion that does a file_get_contents and this one takes many seconds to execute...
can it be possible that this file_get_contents be executed in client-side, than give back the calculated result to the server ?
Like a distributed computing mechanism ?
If there is a solution that ask the permission of the user, I'm ok with that also.
file_get_contentson the client, because the client can't access files on the server. - Barmar