Forum Replies Created

Viewing 15 replies - 31 through 45 (of 48 total)
  • I’ve just been troubleshooting exactly the same issue and found that if I turned off HTML Minify Facebook behaves as expected.

    I think it depends on the CDN. With the free Cloudflare account, for example, it just serves the assets (js, css, images and so on), not the whole page. I believe you can serve all your content with a paid account, but some of the free options only serve a portion of the content. In my case, the actual page is delivered from my server, the rest from the CDN.

    Thread Starter chromasia

    (@chromasia)

    Thanks.

    Thread Starter chromasia

    (@chromasia)

    To be honest, I’m not sure I’m the best person to ask as my knowledge is limited. My own server is based in London, and currently I use a free Cloudflare account as a lot of my clients are based in the US. Having Cloudflare running reduces the load time for most of my pages to around 50% when aspects of the page are served via their cache. If all my clients were in the UK, I wouldn’t use them, and would be happy with the speed of the Litespeed cache, but I need the CDN as the roundtrip times are just too high to anywhere other than Europe.

    That said, if the compressed/minified files could be pushed to a CDN that would be great, but I don’t know if that’s possible with Cloudflare, and I don’t know if it’s strictly necessary – it only needs one person to view a page and then the files are cached, so I’m not sure there would be much of a performance gain.

    Thread Starter chromasia

    (@chromasia)

    That’s great news! ??

    Thread Starter chromasia

    (@chromasia)

    Does that also mean that the generated/minified files will also be able to be cached by a CDN? The reason I ask is that it seems as though the generated css and js files, at the moment at least, can only be served from the origin server – they’re not able to be cached by a CDN. I appreciate that this works well if you’re geographically near to the server, but if you’re further away it means that the more you minify and combine the original js and css files the less you can cache elsewhere. It would be great if the generated files could also be cached elsewhere.

    Thread Starter chromasia

    (@chromasia)

    Thanks. And yes, I appreciate that the expiration dates don’t make any significant difference, it’s just the issue with page speed metrics. Adding a expiration date to the browser cache will fix that so I’ll look forward to the update.

    Thread Starter chromasia

    (@chromasia)

    Thanks, that’s fixed it.

    Best wishes,

    Dave

    Thread Starter chromasia

    (@chromasia)

    I’ve been able to get through to the account server now, so have my new code. All fixed here.

    Thread Starter chromasia

    (@chromasia)

    I appreciate you’re having problems, but 10 hours after you marked this as resolved your server is still down.

    Any updates?

    Thread Starter chromasia

    (@chromasia)

    Hi Florian,

    There’s no rush – my shop isn’t active at the moment so it’s not an issue.

    I’ll look forward to this fix.

    Best wishes,

    Dave

    Thread Starter chromasia

    (@chromasia)

    Thanks Predrag, much appreciated.

    Best wishes,

    Dave

    Hi Florian,

    I’m sure I must be missing something simple, but where can I find the customizer option?

    Best wishes,

    Dave

    Thread Starter chromasia

    (@chromasia)

    Sure, no problem …

    Server Variables
    SERVER_SOFTWARE = LiteSpeed
    DOCUMENT_ROOT = /var/www/vhosts/chromasia.com/httpdocs
    X-LSCACHE = on,crawler

    LSCache Plugin Options
    version = 1.1.1.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 = 31536000
    front_page_ttl = 31536000
    feed_ttl = 0
    403_ttl = 3600
    404_ttl = 3600
    500_ttl = 3600
    purge_by_post = -.A.F.H.M.PGS.PGSRP.PT.T
    excludes_uri =
    excludes_cat =
    excludes_tag =
    nocache_cookies =
    nocache_useragents =
    crawler_include_posts = 1
    crawler_include_pages = 1
    crawler_include_cats = 1
    crawler_include_tags = 1
    crawler_excludes_cpt =
    crawler_order_links = date_desc
    crawler_usleep = 500
    crawler_run_duration = 200
    crawler_run_interval = 28800
    crawler_crawl_interval = 604800
    crawler_threads = 3
    crawler_load_limit = 1
    crawler_cron_active =
    crawler_domain_ip =
    crawler_custom_sitemap =
    wc_update_interval = 0
    wc_shop_use_front_ttl = 1

    Wordpress Specific Extras
    wordpress version = 4.8
    locale = en_US
    active theme = Imagely Ansel (chromasia)
    active plugins = Array
    (
    [0] => press-elements/press-elements.php
    [1] => a3-lazy-load/a3-lazy-load.php
    [2] => akismet/akismet.php
    [3] => all-in-one-schemaorg-rich-snippets/index.php
    [4] => async-javascript-pro/async-javascript-pro.php
    [5] => breadcrumb-navxt/breadcrumb-navxt.php
    [6] => category-sticky-post/category-sticky-post.php
    [7] => css-plus/css-plus.php
    [8] => custom-sidebars/customsidebars.php
    [9] => disable-google-fonts/disable-google-fonts.php
    [10] => disqus-conditional-load-pro/disqus-conditional-load-pro.php
    [11] => duplicate-page/duplicatepage.php
    [12] => elementor-pro/elementor-pro.php
    [13] => elementor/elementor.php
    [14] => ewww-image-optimizer/ewww-image-optimizer.php
    [15] => fast-velocity-minify/fvm.php
    [16] => ga-google-analytics/ga-google-analytics.php
    [17] => genesis-connect-woocommerce/genesis-connect-woocommerce.php
    [18] => genesis-dambuster/main.php
    [19] => instagram-feed/instagram-feed.php
    [20] => jetpack/jetpack.php
    [21] => jquery-smooth-scroll/jquery-smooth-scroll.php
    [22] => litespeed-cache/litespeed-cache.php
    [23] => mailchimp-for-wp/mailchimp-for-wp.php
    [24] => media-library-assistant/index.php
    [25] => nextgen-gallery-pro/nggallery-pro.php
    [26] => nextgen-gallery/nggallery.php
    [27] => pb-seo-friendly-images/pb-seo-friendly-images.php
    [28] => post-snippets/post-snippets.php
    [29] => regenerate-thumbnails/regenerate-thumbnails.php
    [30] => show-hidden-post-meta/show-hidden-post-meta.php
    [31] => social-warfare-pro/social-warfare-pro.php
    [32] => social-warfare/social-warfare.php
    [33] => super-simple-changes/super-simple-changes.php
    [34] => thesography/exifography.php
    [35] => updraftplus/updraftplus.php
    [36] => wccp-pro/preventer-index.php
    [37] => woocommerce-gateway-paypal-express-checkout/woocommerce-gateway-paypal-express-checkout.php
    [38] => woocommerce/woocommerce.php
    [39] => wordfence/wordfence.php
    [40] => wordpress-seo/wp-seo.php
    [41] => wp-category-permalink/wp-category-permalink.php
    [42] => wp-optimize/wp-optimize.php
    )

    /var/www/vhosts/chromasia.com/httpdocs/.htaccess contents:
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##

    <IfModule LiteSpeed>

    RewriteEngine on
    CacheLookup Public on

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    </IfModule>

    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE

    Options +FollowSymLinks

    Redirect 301 /+ https://plus.google.com/109877874206927205378/
    Redirect 301 /facebook https://www.facebook.com/chromasia
    Redirect 301 /twitter https://twitter.com/chromasia
    Redirect 301 /linkedin https://www.linkedin.com/in/davidjnightingale/
    Redirect 301 /w https://www.chromasia.com/wp/wp-admin/
    Redirect 301 /500px https://500px.com/chromasia

    Redirect 301 /about.php https://www.chromasia.com/about/
    Redirect 301 /commissions.php https://www.chromasia.com/commercial/
    Redirect 301 /store.php https://www.chromasia.com/training-education/

    Redirect 301 /amember/member.php https://www.chromasia.com/tutorials/members/

    Redirect 301 /training/ https://www.chromasia.com/
    Redirect 301 /training/index.php https://www.chromasia.com/
    Redirect 301 /training/about.php https://www.chromasia.com/about/
    Redirect 301 /training/events.php https://www.chromasia.com/workshops-events/
    Redirect 301 /training/mentoring.php https://www.chromasia.com/photography-mentoring-programme/
    Redirect 301 /training/store.php https://www.chromasia.com/workshops-events/
    Redirect 301 /training/one-to-one.php https://www.chromasia.com/one-to-one-photography-training/

    Redirect 301 /training/events/venice_10_17.php https://www.chromasia.com/workshops-and-events/experience-venice-photo-tour-2017/
    Redirect 301 /training/events/venice_2_18.php https://www.chromasia.com/venice-carnival-photo-tour-2018/

    Redirect 301 /tutorials/online/ https://www.chromasia.com/training-education/
    Redirect 301 /tutorials/online/curves https://chromasia.com/curves-tool-introduction/
    Redirect 301 /tutorials/online/curves/index.php https://chromasia.com/curves-tool-introduction/

    ErrorDocument 403 /errors/403.php
    ErrorDocument 404 /errors/404.php
    ErrorDocument 500 /errors/500.php
    ErrorDocument 400 /errors/generic_error.php
    ErrorDocument 401 /errors/generic_error.php
    ErrorDocument 408 /errors/generic_error.php
    ErrorDocument 502 /errors/generic_error.php
    ErrorDocument 503 /errors/generic_error.php
    ErrorDocument 504 /errors/generic_error.php

    # BEGIN litespeed noabort
    <IfModule rewrite_module>
    RewriteEngine On
    RewriteRule .* – [E=noabort:1]
    </IfModule>
    # END litespeed noabort

    # 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

    ExpiresActive On
    ExpiresByType image/gif A2592000
    ExpiresByType image/png A2592000
    ExpiresByType image/jpg A2592000
    ExpiresByType image/jpeg A2592000

    /var/www/vhosts/chromasia.com/.htaccess contents:
    # BEGIN LSCACHE
    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##

    <IfModule LiteSpeed>

    RewriteEngine on
    CacheLookup Public on

    ### marker CACHE RESOURCE start ###
    RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php – [E=cache-control:max-age=3600]
    ### marker CACHE RESOURCE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###
    </IfModule>

    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END LSCACHE

    Thread Starter chromasia

    (@chromasia)

    For some reason I couldn’t paste the text here. I’ve added it to the ticket I opened earlier.

Viewing 15 replies - 31 through 45 (of 48 total)