spaceman12 Posted March 21, 2011 Share Posted March 21, 2011 Hello, I'm just too vague over my understanding as to what I know so far may be true or not. Suppose, I have a text file stored on the server. We all know that when a file stored on a server is opened for viewing, some bandwidth is consumned and the consumption increases with every refresh of the page and so on. So if i use $.get on the client browser to reteieve the contents of the text file stored on the server, will it affect the server bandwidth consumption? I just want to make it clear that it is just a plain text file. I'm looking for all posibilities as to how I can retrieve the contents of the text file stored on the server from the client browser without necesarily having to consumned any server bandwidth. thank you all in advance! Quote Link to comment https://forums.phpfreaks.com/topic/231306-does-get-consumned-any-bandthwidt-getting-contents-of-a-text-file/ Share on other sites More sharing options...
nogray Posted March 21, 2011 Share Posted March 21, 2011 anything that moves from the server to the client will consume bandwidth. You can try to gzip the text content to reduce the bandwidth but that's about it. Unless you are getting tons of clicks, I wouldn't worry about bandwidth too much. Most hosting companies offer a lot of bandwidth (if not unlimited) for a very low price. Quote Link to comment https://forums.phpfreaks.com/topic/231306-does-get-consumned-any-bandthwidt-getting-contents-of-a-text-file/#findComment-1190476 Share on other sites More sharing options...
Maq Posted March 21, 2011 Share Posted March 21, 2011 spaceman, do not double post again. I'm leaving this one since it already has a reply. Quote Link to comment https://forums.phpfreaks.com/topic/231306-does-get-consumned-any-bandthwidt-getting-contents-of-a-text-file/#findComment-1190479 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.