coppermine-gallery.com/forum

Support => Older/other versions => cpg1.3.x Support => Topic started by: GODFATHER on February 15, 2005, 04:18:20 AM

Title: bandwidth
Post by: GODFATHER on February 15, 2005, 04:18:20 AM
my bandwidth is getting eaten like crazy b.c of the gallery..is there a way to reduce the usage of bandwidth?
Title: Re: bandwidth
Post by: meshroom on February 15, 2005, 05:34:37 AM
Lots;

- make your images smaller (in dimension, thus reducing filesize, can do that in your config and with admin tools)
- increase compression ratio for JPEG images
- Limit usage of gallery to registered users only
- Incur limits to user upload file sizes, also in config
Title: Re: bandwidth
Post by: Casper on February 15, 2005, 04:58:42 PM
Have a look at where this is going.  I had a similar problem and found it was msnbot continually downloading my entire site.

It may be worth putting in a restriction to prevent the bots going into the albums folder.
Title: Re: bandwidth
Post by: Joachim Müller on February 15, 2005, 07:19:54 PM
and disallow google's image spider to crawl your pages as well, it "obeys" commands given in robots.txt, like thisUser-agent: Googlebot
Disallow: /*.gif$

User-agent: Googlebot
Disallow: /*.jpg$

User-Agent: Googlebot-Image
Disallow: /


Joachim
Title: Re: bandwidth
Post by: GODFATHER on February 16, 2005, 06:42:19 AM
Quote from: GauGau on February 15, 2005, 07:19:54 PM
and disallow google's image spider to crawl your pages as well, it "obeys" commands given in robots.txt, like thisUser-agent: Googlebot
Disallow: /*.gif$

User-agent: Googlebot
Disallow: /*.jpg$

User-Agent: Googlebot-Image
Disallow: /


Joachim

i post this in TEMPLATE.HTML or in wat file?
Title: Re: bandwidth
Post by: GODFATHER on February 16, 2005, 06:45:04 AM
Quote from: meshroom on February 15, 2005, 05:34:37 AM
Lots;

- make your images smaller (in dimension, thus reducing filesize, can do that in your config and with admin tools)
- increase compression ratio for JPEG images
- Limit usage of gallery to registered users only
- Incur limits to user upload file sizes, also in config
i dont think i can go into every image to make the quality less

i did liimit the gallery usage to registered..like visitors can see the small images, but they have to register to see enlarge
..no one has uploaded anything yet...

so my question is...how do i increase compression ration
Title: Re: bandwidth
Post by: Joachim Müller on February 16, 2005, 08:37:00 AM
http://www.searchengineworld.com/robots/robots_tutorial.htm
Title: Re: bandwidth
Post by: GODFATHER on February 17, 2005, 03:19:48 AM
Quote from: GauGau on February 16, 2005, 08:37:00 AM
http://www.searchengineworld.com/robots/robots_tutorial.htm

so from what i understood basically paste what u wrote in a NOTEPAD file and name it ROBOTS.TXT?
Title: Re: bandwidth
Post by: Tranz on February 17, 2005, 03:28:10 AM
You should keep it lowercase, robots.txt, since the server may be case-sensitive.
Title: Re: bandwidth
Post by: GODFATHER on February 17, 2005, 03:50:24 AM
Quote from: TranzNDance on February 17, 2005, 03:28:10 AM
You should keep it lowercase, robots.txt, since the server may be case-sensitive.
oh so what i said was right then?  like i dont at <html> or anything like that?
Title: Re: bandwidth
Post by: Joachim Müller on February 17, 2005, 08:36:50 AM
read the tutorial or google for robots.txt (http://www.google.com/search?q=robots.txt): this is not related at all to coppermine; it's a common technology on webservers though that everyone who runs a website should know about. Basically the answer is "yes", you just create a plain text file with the information given, but imo it's mandatory that you understand what you are doing, as modifying the robots.txt file has an impact on your site and how it will be spidered from search engines. Don't be lazy, do some reading - don't expect us to answer all questions for you.

Joachim
Title: Re: bandwidth
Post by: GODFATHER on February 26, 2005, 03:57:42 AM
ok i did the ROBOTS.TXT file and uploaded it to the main directory of the site, and still the images come up on search engines :(
Title: Re: bandwidth
Post by: Tranz on February 26, 2005, 04:12:33 AM
Did you name the file robots.txt or ROBOTS.TXT

There is a difference.

http://forums.seochat.com/t316/s.html

edit: I got your gallery link from another thread. It is lower case. It seems to be okay. It would seem at this point that the search engines are caching information. Just as it takes a while to add to the engines, it takes a while to remove it.