So, I am directly into cache everything on my small website known as http://apolloinvest.hu.
I delivering gzipped, enhanced images, js, css, and everything even the whole website is gzipped, the JS files are loads deferred, with LAB, and everything should be fantastic, I additionally designed a browser cache. But my website continues to be loads for 1 sec to load any page, and never instantly get it done.
Would you assist me to please, why?
My redbot andswer is: http://redbot.org/?uri=http%3A%2F%2Fapolloinvest.hu%2F
Google PageSpeed rank is 99/100 (Because I'd rather not take away the comments in the jquery UI)
The solution for CSS files: http://redbot.org/?uri=http%3A%2F%2Fapolloinvest.hu%2Fda232d78aa810382f2dcdceae308ff8e.css
To tell the real I have no idea what's the matter, with my caching or my JSes. Just help men.
I delivering gzipped, enhanced images, js, css, and everything even the whole website is gzipped, the JS files are loads deferred, with LAB
That's exactly your condition.
Rather than doing everything fancy stuff, you needed to profile the application first, determine a particular bottleneck after which optimize the precise part that's leading to the slowness.
Allow me to suggest you to definitely begin with the
"Net" tab of
Firebug where one can watch actual response occasions from the demands. The cool thing is that the code runs FAST however, many JS-based web-counter prevents the page from exhibiting immediately.
whether it's 1 second that can take for that PHP code to complete Time to profile it. Xdebug or simple
microtime(1)-based manual profiling let you know where's the issue. Once you discover it, you'll have the ability to request more certain question here.
The website is fairly fast because it is, but listed here are a couple of possible enhancements:
<script>elements at the end from the HTML document (right before
Expiresheaders far later on.
A few unrelated notes:
- The website is not valid HTML. The extra overhead triggered through the browser changing it to valid HTML is not important, however the readability (and compatibility) does.
- Your stylesheet is fixed to
screen. When printed out (or seen on another non-
screendevice), it looks ugly.