Forum Replies Created

Viewing 15 replies - 1 through 15 (of 49 total)
  • Thread Starter nceebob

    (@nceebob)

    Okay

    Thread Starter nceebob

    (@nceebob)

    Okay. Thanks.

    Thread Starter nceebob

    (@nceebob)

    Have incorporated the above changes, namely:

    Max Static File Size (bytes) : 1M
    Min Static File Size (bytes) : 300

    ,my server was then given a graceful restart and the subsequent
    Enable gzip compression tests on gtmetrix are now graded with a “B”, which is much better.

    Would be nice if I could get a grade “A” test results from the above tests too. – I suppose that should be possible too, isn’t it?

    Thread Starter nceebob

    (@nceebob)

    I don’t get it well.
    Is it Max Static File Size > 2 or Max Static File Size < 2 that won’t be compressed ?

    I have checked the headers on my site pages, and gzip is enabled:

    Request URL:https://my-website.com/
    Request Method:GET
    Status Code:200 OK
    Remote Address:192.168.0.53:80
    Response Headers
    view source
    Accept-Ranges:bytes
    Cache-Control:no-cache, must-revalidate, max-age=0
    Connection:close
    Content-Encoding:gzip
    Content-Type:text/html; charset=UTF-8
    Date:Mon, 20 Mar 2017 19:34:30 GMT
    Expires:Wed, 11 Jan 1984 05:00:00 GMT
    Link:<https://my-website.com/wp-json/>; rel="https://api.w.org/"
    Server:LiteSpeed
    Transfer-Encoding:chunked
    Vary:Accept-Encoding,Accept-Encoding,Accept-Encoding
    X-LiteSpeed-Cache-Control:no-cache

    Maybe the reason why gtmetrix is not able to detect the compression, has to do with the gzip compression settings on my LS-powered server.

    What would be a typical Max Static File Size and Min Static File Size setting combination?

    • This reply was modified 7 years, 8 months ago by nceebob.
    Thread Starter nceebob

    (@nceebob)

    Thanks for the feedback.

    The issue appears to to be rather a combination of browser cache-ing ( I was using Chrome, and now changed to Firefox) and the line 51 on

    /wp-content/plugins/litespeed-cache/admin/js/litespeed-cache-admin.js when active.

    Having switch to Firefox and commenting out the line 51 in the above LS javascript file, I am now able to save my LS plugin’s Advanced Settings with the click of the “save changes” successfully.

    Have altered no settings at all in my social-warfare plugin’s settings. Do you still suppose that could pose issues with LS by and by?

    • This reply was modified 7 years, 8 months ago by nceebob.

    Unchecking now done successfully, after commenting out line 51 in

    // $("form").attr("action", new_url);
    at

    /wp-content/plugins/litespeed-cache/admin/js/litespeed-cache-admin.js

    Plugin status is also now enabled on the WHM side.

    Now, unchecking the advanced-cache.php and doing a “save changes” throws a 404 page with url, /wp-admin/undefined&tab=0&tab=4

    /wp-admin/admin.php?page=lscache-settings -> Advanced Settings -> Check advanced-cache.php is checked

    Thread Starter nceebob

    (@nceebob)

    Sure:

    Server Variables
        SERVER_SOFTWARE = LiteSpeed
        DOCUMENT_ROOT = /home/mydirectory/public_html
        X-LSCACHE = 1
    
    LSCache Plugin Options
        version = 1.0.14.1
        enabled = 1
        radio_select = 1
        purge_upgrade = 1
        cache_commenters = 1
        cache_login = 1
        cache_favicon = 1
        cache_resources = 1
        mobileview_enabled = 
        mobileview_rules = 
        login_cookie = 
        tag_prefix = 
        check_advancedcache = 1
        debug = 0
        admin_ips = 127.0.0.1
        test_ips = 
        public_ttl = 172800
        front_page_ttl = 43200
        feed_ttl = 0
        403_ttl = 3600
        404_ttl = 3600
        500_ttl = 3600
        nocache_vars = 
        nocache_path = 
        purge_by_post = A.F.H.M.PT.T
        excludes_uri = 
        excludes_cat = 
        excludes_tag = 
        nocache_cookies = 
        nocache_useragents = 
    
    Wordpress Specific Extras
        wordpress version = 4.7.3
        locale = en_US
        active theme = Fuse
        active plugins = Array
    (
        [0] => addthis/addthis_social_widget.php
        [1] => akismet/akismet.php
        [2] => amp/amp.php
        [3] => contact-form-7/wp-contact-form-7.php
        [4] => content-egg/content-egg.php
        [5] => cookie-law-info/cookie-law-info.php
        [6] => datafeedr/datafeedr.php
        [7] => db-cache-reloaded-fix/db-cache-reloaded.php
        [8] => force-regenerate-thumbnails/force-regenerate-thumbnails.php
        [9] => imagify/imagify.php
        [10] => krp_posts_featured_image/krp_posts_featured_image.php
        [11] => litespeed-cache/litespeed-cache.php
        [12] => nxs-snap-pro-upgrade/nxs-snap-pro-upgrade.php
        [13] => p3-profiler/p3-profiler.php
        [14] => photo-gallery/photo-gallery.php
        [15] => pixelgrade-shortcodes/plugin.php
        [16] => qqworld-collector/qqworld-collector.php
        [17] => regenerate-thumbnails/regenerate-thumbnails.php
        [18] => scheduled-post-guardian/scheduled-post-guardian.php
        [19] => social-networks-auto-poster-facebook-twitter-g/NextScripts_SNAP.php
        [20] => social-warfare-pro/social-warfare-pro.php
        [21] => social-warfare/social-warfare.php
        [22] => wpfront-user-role-editor-personal-pro/wpfront-user-role-editor.php
        [23] => wpfront-user-role-editor/wpfront-user-role-editor.php
        [24] => yieldkit/yieldkit.php
    )
    
    /home/mydirectory/public_html/.htaccess contents:
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    <IfModule Litespeed>
    RewriteEngine on
    
    ###LSCACHE START PLUGIN - Do not edit the contents of this block!###
    RewriteEngine on
    CacheLookup Public on
    
    ###LSCACHE START RESOURCE###
    RewriteRule wp-content/.*/[^/]*(loader|fonts|\.css|\.js)\.php - [E=cache-control:max-age=3600]
    ###LSCACHE END RESOURCE###
    ###LSCACHE START FAVICON###
    RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
    ###LSCACHE END FAVICON###
    ###LSCACHE END PLUGIN - Do not edit the contents of this block!###
    </IfModule>
    <IfModule LiteSpeed>
    RewriteEngine on
    ###LSCACHE START RESOURCE###
    RewriteRule wp-content/.*/(loader|fonts)\.php - [E=cache-control:max-age=3600]
    ###LSCACHE END RESOURCE###
    ###LSCACHE START FAVICON###
    RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
    ###LSCACHE END FAVICON###
    </IfModule>
    

    Having inserted the code:

    add_filter( 'do_rocket_generate_caching_files', '__return_false' );

    in my functions.php obviously, disables LS from cache-ing as the LS Cache Status on my WHM side changes status from “enable” to “warning” which has the following on-mouse-over text, "Caching is not currently enabled for this installation. Please visit the WordPress Dashboard for more information."

    Thread Starter nceebob

    (@nceebob)

    Hello,

    1. Have delete line 51,
    $("form").attr("action", new_url);
    , at :
    /mydirectory/public_html/wp-content/plugins/litespeed-cache/admin/js/litespeed-cache-admin.js

    2. save the file in (1);
    3. Emptied Entire Cache (/wp-admin/admin.php?page=lscache-dash -> Manage)
    4. Gone to “Advance Settings” tab (/wp-admin/admin.php?page=lscache-settings – Advanced Settings)
    5. Inserted values for “login Cookie” and “Cache Tag Prefix” and when
    6. I press the “save changes” button, the settings do not save.

    I still get a 404 page: /wp-admin/undefined&tab=4

    Hi @kevin at LS, WP Rocket has no specific option(s) that one can say constitute full page cache-ing, apart from these options under the latter “basic settings”:

    1. Lazyload:
    2. Files optimisation (Minification & Concatenation):
    3. Mobile cache: Mobile cache: Enable caching for mobile devices.
    4. Feeds cache: Feeds cache: Enable caching for WordPress feeds.
    5. Logged in user cache: Logged in user cache: Enable caching for logged in users.
    6. SSL cache: SSL cache: Enable caching for pages with SSL protocol (https://).
    7. Emojis (Replace emojis with default WordPress smileys):

    (see screenshot: https://www.dropbox.com/s/mvel8g8a34sqmn7/wp_rocket_basic_caching_settings_07-03-2017-01.png?dl=0)

    Which of the above options need to be shut off (or unchecked) in order for WP Rocket and LS to work together?

    Is LS compatible with WP Rocket (https://wp-rocket.me/) ? When WP Rocket is enable, LS shuts off. Would be nice to be able to use these two plugins.

    Thanks, Bojan. The email has arrived.

    And I have also discovered the previous emails as well – they were not in my “spam folder” though ??

    My gmail kind of , marked your emails as a “promotional emails” and group them as such, and I hardly look at the promotionals.

    Thanks, I will work on that , and will come back to you guys soonest.

    Okay, Bojan.
    And thanks in anticipation.

Viewing 15 replies - 1 through 15 (of 49 total)