![]() |
I need something like TEVS, but static.
I like TEVS, it does its job nicely, but these dynamic pages are killing my box. The load is brutal at 100k a day, its killing my ability to grow.
I need something TEVSesque but that generates static pages. I dont even need bulk import functionality, user uploads, any of that crap. Something that just takes sponsor embed code, add some text, a title, and it shits out an html page with the aforementioned input. Anything? |
what kind of hardware are you running
|
hw.model: Intel(R) Pentium(R) 4 CPU 2.80GHz
hw.ncpu: 2 hw.physmem: 1059479552 hw.usermem: 738578432 |
hit me up
|
You can make TEVS static... I did it.. you can do it too.
|
Tell me how to make tevs static, please.
|
oke, give me a moment, opening dreamweaver to grab the codes
|
you fuckin rule.
|
First Step - Create a php page called cache.php
and dump this code in it.... Code:
<? Need cola and chocolate first |
Step 2, create a folder called "' cache "" and put it in the root, chmod it to 777
So folder name cache, and in 777 please Now i need to find step 3, brb |
Step 3 ...
Code:
<? You place this CODE in your index.php variable is $expire = 3600; Higher number, good for high traffic volume Lower Number, good for low traffic volume NOW step 4 You place below code above the footer include. Code:
<? You can see the end result on www.SmutThumb.com, as you can see there, the index refreshes every 60 minutes. So the load is way more friendly. This code is costume. It is made to solve the problem you run into now. Kind Regards Harry |
Quote:
nice site Harry, is that the only mod you have done to the TEVs platform on that site? looks like it is running good and I like your php redirect to the sponsor (is that a builtin feature of TEVS)? |
Quote:
is that the only mod you have done to the TEVs platform on that site? = yes The rest on Smut is just some japperdiejapp html work. Nothing impressive to be honest. The only reason i have a TEVS was to have all movies of all my sponsors on 1 place. Gathered 196,000 in 2 months time. Its a bitch to do this a second time.... :1orglaugh |
Thanks. But correct me if I am wrong, this is still being created dynamically: http://www.smutthumb.com/video/BrookeSkyecom-269659/ ?
My main is static as I am using tgpx to list and rank the thumbs, TEVS to display the video the thumb links to. This is where I am having the trouble. If I sent 100k to dynamically created tevs main with 60 thumbs my box would melt, I solved that problem early with using tgpx to create the main. |
you can of course work on the code a little bit and also employ it on the deeper pages. For me the only needed gig chiller was needed on the index. You can also edit the pages and take the side elements out, or lower the amount of pictures you see on your right. If i would make it all static, the visitors would see every time the same related videos when it watches a movie 2 times. As said, when your a little bit handy, the entire TEVS can be made static. For me the need was not there. With TEVS the sponsors host the movies, so i would not be so unhappy to have 100K a day on it, i would optimize the php pages a little here and there, and 100K is easy to handle then. But heee.. im not a coder, i am more a simple webmaster.
|
STXT outputs static
|
Thanks a bunch sex2have, Im gonna dick around with that code and see what happens.
Godsmack, if I cant get that code working you'll most likely be hearing from me shortly. :) |
I would have made a static version of TEVS but the fact that some webmasters have 200,000 + videos in their database, along with no real template system made me think twice about it.
I would say if the mysql queries are hurting, their is lots of code you can drop. |
I just wanted to drop back in here and say after further investigations by host it was determined that a bad mysql config was largely to blame for the crippling load. After being fixed the load isnt a third of what it was. Tits.
Sorry Zorg, didnt want you to think I was in here bagging your script. Im a big fan of it. |
It's cool. Lots of different factors play with server loads.
I had one client back in Feb that was using tevs with 50,000 videos and 20k a day traffic. Told me the script was too slow. After looking at this server there was 500 other domains using tgp and blogs on the same database. As long as it's fixed, it's all good. :D |
tevs has excellent support and will help webmasters with the small nuances of the script
|
All times are GMT -7. The time now is 06:00 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc