Activity Stream
48,167 MEMBERS
61107 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1.     
    #1
    Member
    Website's:
    warezat.net

    Default [php] faster loading pages?

    Can someone give me some tips on how to load a page faster

    Ive optimized my mysql queries

    i added a flush() to the middle of the page to make the page show before its all done loading (not sure if this is a good idea or not)

    it works but when it gets to the flush() it kinda stops for a second then continues

    any better way of doing this?
    r4myy Reviewed by r4myy on . [php] faster loading pages? Can someone give me some tips on how to load a page faster Ive optimized my mysql queries i added a flush() to the middle of the page to make the page show before its all done loading (not sure if this is a good idea or not) it works but when it gets to the flush() it kinda stops for a second then continues any better way of doing this? Rating: 5

  2.   Sponsored Links

  3.     
    #2
    mmm mmm!
    What about getting a faster and better host?
    HATERS GONNA probably bring up some valid points considering I am an ignorant little twat so far up my own ass that i blame my problems on everyone and if you criticize me you're automatically wrong.

  4.     
    #3
    Respected Member
    If it is an image problem preload all images to client by using a javascript.

    Or at least the biggest ones.

  5.     
    #4
    Member
    Website's:
    eih.bz pornDDL.me sexytattoochicks.tumblr.com
    Start with optimizing your server and mysql. Maybe there is a problem?
    This is an awesome blog:
    Happy Reading

  6.     
    #5
    OH GOD!!!!!
    Website's:
    HotNewHipHop.com
    Quote Originally Posted by r4myy View Post
    Can someone give me some tips on how to load a page faster

    Ive optimized my mysql queries

    i added a flush() to the middle of the page to make the page show before its all done loading (not sure if this is a good idea or not)

    it works but when it gets to the flush() it kinda stops for a second then continues

    any better way of doing this?


    Ummm how about gettin a better host? dont you think thats why its slow?

  7.     
    #6
    Member
    Website's:
    warezat.net
    Quote Originally Posted by pi0tr3k View Post
    Start with optimizing your server and mysql. Maybe there is a problem?
    This is an awesome blog:

    Happy Reading
    Thanks for the link, ill check it out

    Quote Originally Posted by bxflow View Post
    Ummm how about gettin a better host? dont you think thats why its slow?
    well thats part of the reason but i just wanted to get some tips to make the code faster

    ill check if its an image thing too, thanks guys

  8.     
    #7
    Member
    Website's:
    ZilleJulle.com PornBoxIt.com TheCavernForum.com TheFlix.net
    add your own Image site on same domane and let all member us that for post and make sure all site you have link LE on your site are running and have the control of your bord N01 get a monster server

  9.     
    #8
    Member
    http://eaccelerator.net/ set that on your server

  10.     
    #9
    Member
    Website's:
    litewarez.net litewarez.com triniwarez.com
    Firstly do not use flush()

    at the top of your site make sure your starting you output_buffer with gzip compression

    Take a look at this caching function without gZip.. before printing contents you can use the ZLIB functions like gzcompress http://uk.php.net/manual/en/function.gzcompress.php
    http://www.coderprofile.com/networks...it/source-code

    Secondly! What system are you actually using, your own or pre made.

    --
    Design:
    Compress your external files like css / js into one file!, so if you have style.css,reset.css put the rest at the top of style and just load the style.css..

    Same with javascript.

    Reduce the amount of images you have on your page, thats not css images im talking about <img src.../>

    These are just some things you can do, theres more advanced methods such as CatchControlling and so on but the about will get you a little faster
    Join Litewarez.net today and become apart of the community.
    Unique | Clean | Advanced (All with you in mind)
    Downloads | Webmasters


    Notifications,Forum,Chat,Community all at Litewarez Webmasters


  11.     
    #10
    Respected Developer
    Website's:
    wrzc.org
    litewarez answer is spot on.
    The answers by mrsandvik, bxflow and Lock Down are a last resort. I have no idea why PBI NetWork suggested that.

    Ya it can depend on you server but generally it's the script and site that's the problem. Having lots of images is the main killer. Especially large ones. eg using one giant large image as a background is a no-no. The code like html, js and css is rarely the problem unless you have something like a blog and you've added loads of addon's which all work independently and need their own scripts loaded. This is like loading several different sites as they weren't designed together. By combining them together it's like having them as one site again and getting your speed back.


    To be honest if you were to give a link to your site most of us would be able to tell you the exact cause of the problem. For all we know it might be loading fine and your internet connection is crap

    EDIT if it's a custom script or beta mod their could be an error in the script which is in a constant loop that needs to be fixed. You could try disabling them to see if that's the problem but giving us a link would be a lot easier.
    Tutorial How to SEO your Warez Site a guide to help you increase your organic traffic

    Huge list of Warez Sites and free Multiposter Templates

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Faster TV releases?
    By EL-Warez in forum Webmaster Resources
    Replies: 24
    Last Post: 14th May 2012, 12:36 AM
  2. Is Z_o_o_m faster than FTP upload?
    By ladykiller88 in forum File Host Discussion
    Replies: 22
    Last Post: 21st Feb 2012, 05:12 PM
  3. Check Site/Pages Loading Time From Different Places
    By viruz99 in forum Technical Help Desk Support
    Replies: 3
    Last Post: 11th May 2011, 03:13 PM
  4. Which CPU is faster?
    By mahjong in forum Technical Help Desk Support
    Replies: 4
    Last Post: 10th Mar 2011, 09:07 PM
  5. Need faster function - help :(
    By Porsche_maniak in forum Web Development Area
    Replies: 7
    Last Post: 11th Dec 2010, 07:54 PM

Tags for this Thread

BE SOCIAL