PageSpeed Insights

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?
 
Also
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:
 
Also
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:

Set expiries for your resources

https://css-tricks.com/snippets/htaccess/set-expires/

The 3rd party resources from different domains you can't really do anything about
 
You can pass «Leverage browser caching» except 2 css.php using nginx.conf :

http section:
Code:
    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:
Code:
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
 
Back
Top Bottom