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

For JS files: http://redbot.org/?uri=http%3A%2F%2Fapolloinvest.hu%2F5ec01c6d8ca5258bf9dcef1fc6bfb38c.js

To tell the real I have no idea what's the matter, with my caching or my JSes. Just help men.

Répás

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:

  • Directly render the HTML page rather than using JavaScript to do this. Invest the <script> elements at the end from the HTML document (right before </body>) to ensure that the browser can render the page before the JavaScript code is downloaded.
  • You are able to concatenate all of the JavaScript files into one. Presently, http://apolloinvest.hu/475a641fc1d70f7c92efa3488e27568f.js is simply empty.
  • If at all possible, serve static content for example JavaScript files and designs with Cache-Control and Expires headers 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-screen device), it looks ugly.
  • The website breaks for customers without JavaScript. It is simply showing a loading bar, forever.