So, I'm in to cache everything on my website called http://apolloinvest.hu.
I sending gzipped, optimized images, js, css, and everything also the whole site is gzipped, the JS files are loads deferred, with LAB, and everything must be fantastic, I also made a browser cache. But my site is still loads for 1 sec to load any page, and not instantly do it.
Could you help me please, why?
My redbot andswer is: http://redbot.org/?uri=http%3A%2F%2Fapolloinvest.hu%2F
Google PageSpeed rank is 99/100 (Because I don't want to remove the comments from the jquery UI)
La respuesta para Archivos CSS: http://redbot.org/?uri=http%3A%2F%2Fapolloinvest.hu%2Fda232d78aa810382f2dcdceae308ff8e.css
So to tell the true I dont know what is the matter, with my caching or my JSes. Thanks for the help guys.
preguntado el 08 de noviembre de 11 a las 17:11
I sending gzipped, optimized images, js, css, and everything also the whole site is gzipped, the JS files are loads deferred, with LAB
THAT IS exactly your problem.
Instead of doing all that fancy stuff, you had to perfiles your application first, determine a certain bottleneck and then optimize the exact part that is causing the slowness.
Let me suggest you to start from the
"Net" pestaña de
Firebug where you can watch actual response times of the requests. It is very likely that your code runs FAST but some JS-based web-counter prevents the page from displaying immediately.
if it's 1 second that takes for the PHP code to execute - time to profile it. Xdebug or simple
microtime(1)-based manual profiling can tell you where is the problem. Once you find it, you'll be able to ask more certain question here.
The site is pretty fast as it is, but here are a few possible improvements:
<script>elements at the bottom of the HTML document (just before
Expiresheaders far in the future.
A couple of unrelated notes:
- El sitio es HTML no válido. The additional overhead caused by the browser transforming it to valid HTML does not matter, but the readability (and compatibility) does.
- Your stylesheet is restricted to
screen. When printed out (or viewed on another non-
screendevice), it se ve feo.