• waffenss

    (@waffenss)


    Just did a install set it up fine but checking speeds have lowered my score from 85 to 83

    Also not getting any Leverage browser caching what fixes this and is it even supported?

    Mod Rewrite rules updated!
    
    /home/------/public_html/.htaccess has been updated with the necessary mod_rewrite rules. Please verify they are correct. They should look like this:
    
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    #If you serve pages from behind a proxy you may want to change 'RewriteCond %{HTTPS} on' to something more sensible
    AddDefaultCharset UTF-8
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html.gz" [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Accept-Encoding} gzip
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html.gz" [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTPS} on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index-https.html" [L]
    
    RewriteCond %{REQUEST_URI} !^.*[^/]$
    RewriteCond %{REQUEST_URI} !^.*//.*$
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{QUERY_STRING} !.*=.*
    RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress_logged_in|wp-postpass_).*$
    RewriteCond %{HTTP:X-Wap-Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
    RewriteCond %{HTTPS} !on
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html -f
    RewriteRule ^(.*) "/wp-content/cache/supercache/%{SERVER_NAME}/$1/index.html" [L]
    </IfModule>

    https://www.ads-software.com/plugins/wp-super-cache/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter waffenss

    (@waffenss)

    I also turned on Preload it ran through fine but since then this plugin is constantly using 1/2 GB of dedicated ddr3 and consuming about 20% Physical Memory Usage.

    Also keeping CPU in a constant state of use.

    Just did a install set it up fine but checking speeds have lowered my score from 85 to 83

    What score is it?

    Also not getting any Leverage browser caching what fixes this and is it even supported?

    What does “Leverage browser caching” mean?

    I also turned on Preload it ran through fine but since then this plugin is constantly using 1/2 GB of dedicated ddr3 and consuming about 20% Physical Memory Usage

    How did you measure it?

    Thread Starter waffenss

    (@waffenss)

    It was the use of serving and storing preloaded pages without using a CDN with that off and the bulk of the files gone runs smooth and fast.

    Actually clocks in faster on site load time not serving preloaded files.

    Pingdom

    Leverage browser caching Serve files to a certain expiration date header etc.

    Monitored it from pre-pluging to after install. I did a in depth setup but running the basic now without (PRELOAD) which I was using my own server to serve files to people. Preload you can read about that in this plugins info.

    This is a good pluging much more simple than W3TC just look at the interface on it. But not as many options but enough for me running a fast growing news site.

    On the CDN and why I do not use it read them very carefully they track everything on visitors through their networks collecting data on your sites traffic and using cookies. If I want good reliable statistics on my site I will use my Alexa account instead of jeopardizing visitors privacy out to a 3rd party source serving static files.

    Global Rank 251,327

    Rank in US 85,102

    Still you haven’t answered how you measured the info about memory usage by this plugin.

    Expires headers is not set by this plugin, because, as you already mentioned…

    This is a good pluging much more simple than W3TC

    It primarily does only one job, caching, but is doing it correctly, without the complexity of other features, such as expires headers.

    You may setup the expires headers based on the code from https://github.com/h5bp/server-configs-apache/blob/master/.htaccess#L537-L594 . You may of course tweak it as you wish. It is a good starting point, IMO.

    For Pingdom, I’d recommend pagespeed insights that offers more insights than Pingdom.

    To conclude: For your original concern on “No Leverage browser caching”, you are right, there is no built-in support for this feature.

    Thread Starter waffenss

    (@waffenss)

    Already had a version of this code this is more detailed thanks.

    Monitored it from pre-pluging to after install. I did a in depth setup but running the basic now without (PRELOAD) which I was using my own server to serve files to people. Preload you can read about that in this plugins info.

    Basically if you do not have dedicated or VPS using Preload on full site content will eat up your resources hosting them within your web server space.

    Thread Starter waffenss

    (@waffenss)

    For the record I want to say to Donncha O Caoimh and his plugin it was not that putting the load on my server by some odd occurrence around the time after I installed this a brute force attack was beginning to occur on my site.

    The resource usage above and this plugin are not related as thought. It was just a bad timing for me to install it apologies and this thing is simple and delivers fast I checked load time of my site from Amsterdam to Chicago its 4 seconds and under while I was using this and will be reinstalling it today.

    I sit back and caught the brutenoobs had them added to a global cloud (BruteProtect) use it if you choose not to use a CDN which i will never use because if you read the details they determine who and where can see your content they also collect huge amounts of data on visitors to your site through the use of a CDN and store it.

    Very blatant data collectors on peoples activities they try to shug it off as being for statistics but once you read it in depth it seems to be a front for peoples activities and data collection on what those users do by attached cookies from them.

    to Leverage Browser Caching here is code to the .htaccess
    you don’t need plugins…

    ## EXPIRES CACHING ##
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 year"
    ExpiresByType image/jpeg "access 1 year"
    ExpiresByType image/gif "access 1 year"
    ExpiresByType image/png "access 1 year"
    ExpiresByType text/css "access 1 month"
    ExpiresByType text/html "access 1 month"
    ExpiresByType application/pdf "access 1 month"
    ExpiresByType text/x-javascript "access 1 month"
    ExpiresByType application/x-shockwave-flash "access 1 month"
    ExpiresByType image/x-icon "access 1 year"
    ExpiresDefault "access 1 month"
    </IfModule>
    ## EXPIRES CACHING ##

    THere are many .htaccess tricks you can playing with to speed up and secure the site as well: Leverage browser caching

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘No Leverage browser caching’ is closed to new replies.