Posted by: onyma [x] - (74.118.135.---)
Date: September 12, 2006 10:20PM
Hey guys... as a long time visitor to the '613 series of sites I thought I would offer up a small suggestion to the site code that should save you a lot of bandwidth.

Let's take Porn613 as an example. If I save the HTML source from any of the gallery pages and view it it is including an OPTION statement for every single gallery page available on the server:

1
2
3
..down to..
4529
4530
4531

Thats 4500+ statements on every page load. That makes the HTML alone for any gallery page over 248k and growing every single day. Out of interest's sake I deleted all the option statements from the HTML and it dropped to 15k. That's 233k of pure option statements in the code. (and ~1 meg of your bandwidth for every 4 gallery page views)

Instead would it not be better to just put in a page number box the user could type the desired page number into... and if you wanted to get fancy you could include a small JScript to validate the page number on input and then insert the current highest page number dynamically into the JScript on each page load? This would save you LOADS of bandwidth and make the site much more responsive on the users end.

Just a suggestion from a dedicated visitor and web dev.
Posted by: DarkKlown [x] - (74.118.135.---)
Date: September 15, 2006 01:07AM
yah umm.. been meaning to fix that up for awhile now... problem is i really like being able to go to any page in the gallery without having to cycle thru jumps.. I guess we're getting too big to be able to do it but.. I'm in the process of making a few changes in our dev enviroment i guess i'll do that aswell..

Does anyone know enough javascript that would be able to write a function that could fillout the option list if given a range? My javascript is all cut and paste winking smiley
Posted by: DarkKlown [x] - (74.118.135.---)
Date: September 15, 2006 01:36AM
I've made a quick change to lessen the amount of options given. This isn't going to be the final solution to this. But it's a quick hack to give me time to workout a better way.
Posted by: onyma [x] - (74.118.135.---)
Date: September 15, 2006 01:47AM
I could try to whip something up for you if you like... not sure how fast JScript will be ad adding 4500 items to the document tree though but I can test it. Might also be able to come with something else to give the same funtionality if you like.
Posted by: onyma [x] - (74.118.135.---)
Date: September 15, 2006 03:15AM
I think the temp fix broke Porn613 smiling smiley When clicking on a gallery over there you are given a Plus gallery page.
Posted by: DarkKlown [x] - (74.118.135.---)
Date: September 15, 2006 06:26AM
I'm at work at the moment so i'm very limited in being able to test. I guess it will just have to stay broken until i get home =)

I think i've figured out how i'll arrange the list to be more senseable. Just getting the php code to work how i want it seems a little bit of a pain.

I checked the logs and the adverage gallery page was only around 50k (still way larger than what it should be) but well under the 250k odd stated winking smiley
Posted by: DarkKlown [x] - (74.118.135.---)
Date: September 15, 2006 06:34AM
porn613.net should be fixed now.
Posted by: onyma [x] - (74.118.135.---)
Date: September 15, 2006 12:48PM
Excellent smiling smiley

I think you should check your logging system then winking smiley I still have the one I checked filed here and it is 248k for sure... guaranteed. It's from page 1 of the gallery of Porn which had just over 4500 pages at the time. Plus being in the 1300 page range would be significantly smaller. Hated to see you eating up bandwidth like that and the galleries are just flying now. For interest's sake the code is down to 17.7k.

If you would like some JScript written up I would be glad to offer up some help as my contribution to the sites. Drop me an email at the address filed under this account anytime.

Thanks again and keep up the great work on my favourite daily distraction sites. smiling smiley
Your Name: 
Your Email: 
Subject: 
Message: