Jump to content

does $.get consumned any bandthwidt? getting contents of a text file


spaceman12

Recommended Posts

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!

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.