1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PageSpeed Insights

Discussion in 'Server Configuration and Hosting' started by Gizzymomo, Apr 11, 2016.

  1. Gizzymomo

    Gizzymomo Member

    My page speed mainly complains about

    Your page has 6 blocking CSS resources. This causes a delay in rendering your page.
    None of the above-the-fold content on your page could be rendered without waiting for the following resources to load. Try to defer or asynchronously load blocking resources, or inline the critical portions of those resources directly in the HTML.

    How would i go about fixing this?
  2. eberkund

    eberkund Active Member

  3. Gizzymomo

    Gizzymomo Member

    Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
    Leverage browser caching for the following cacheable resources:
  4. Gizzymomo

    Gizzymomo Member

  5. eberkund

    eberkund Active Member

    Set expiries for your resources


    The 3rd party resources from different domains you can't really do anything about
  6. a.tushkanov

    a.tushkanov Active Member

    You can pass «Leverage browser caching» except 2 css.php using nginx.conf :

    http section:
        gzip on;
        gzip_disable "MSIE [1-6]";
        gzip_min_length 1000;
        gzip_buffers 4 8k;
        gzip_comp_level 8;
        gzip_vary on;
        # gzip_proxied expired no-cache no-store private auth;
        gzip_types text/plain text/css text/xml text/javascript application/x-javascript application/xml application/javascript;
    server section:
    location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpe?g|avi|zip|gz|bz2?|rar|swf)$ {
    root $root_path; # set $root_path
    expires 7d; # 'll cache for 7 days

Share This Page