Hello, I own a VPS and I have my proxy site over it. It loads pretty slow compared to the other websites on my VPS. Could anyone help me make it first page load faster and also the browsing pages faster.. The VPS has Lxadmin installed 512MB RAM Reached 1500 visitors for the first time today. (it was 600 yesturday and was loading ok types) I do have cache enabled for a few selected sites. Site link:- http://droplink.net Other site on the same VPS:- http://videoscripts.net
I tried running it through this website analyzer. Looks like your javascript is the heaviest part of your page. Perhaps you can compress the javascript? The page is pretty light, it seems, so I don't think there's too much you can do on the HTML/CSS side of things. Hope that helps!
Perhaps have you thought of creating an add on script that will cache your pages better so that it will lighten the load on page loads.
Any helpful links on that ? I dont get the real idea about caching my own website. The caching of the website you visit depends on individual computer settings. If they want it to be cache'd it would work fine or it would take time..
For pages to load fast the size of the page should be less than 15kb .You can try the lean and clean css for your layout
Minify your code! turn this: <html> <head> <title> blah</title> .......... CSS: p { font-family:arial; font-size: 12px; } Code (markup): into this: <html><head><title>blah</title>.......... CSS: p {font-family:arial;font-size: 12px;} Code (markup): Also, if you use PHP, you can GZIP each page, and cache it. Here is the code in 1 line: <?php ini_set('zlib_output_compression','On');header("Cache-Control: must-revalidate");$offset = 60 * 60 ;$ExpStr = "Expires: " . gmdate("D, d M Y H:i:s",time() + $offset) . " GMT";header($ExpStr); ?> PHP: If you have many CSS background images, consider turning all of them into a one image sprite.