Forum Replies Created

Viewing 15 replies - 1 through 15 (of 91 total)
  • Thread Starter George M

    (@plan9)

    Hi, thanks for your reply.

    So… with hundreds (maybe thousands) of tickets, I need to manually disable Squirrly snippets on each one? I thought there would be a setting to exclude post types – or a way to do this with a filter in the theme file?

    Thanks

    Thread Starter George M

    (@plan9)

    Thanks @vmarko. @barnabas1 I’ve never used the bunny.net plugin. The generic mirror option on W3 Total Cache works perfectly and allows the use of bunny.net custom hostnames.

    Yes @mirkolofio you did not hallucinate. It was closed for several days while WordPress reviewed some potential security issues. I mailed StyleMix support and asked them to address it here.

    I don’t know the solution to this but I have noticed attachments with pretty urls still work in Apple Safari on both Mac OS and iOS.

    • This reply was modified 1 year, 7 months ago by George M.
    Thread Starter George M

    (@plan9)

    @vmarko Done!

    Thread Starter George M

    (@plan9)

    Thanks @vmarko

    I really appreciate your help.

    Using Apache + NGINX reverse proxy + W3 Total Cache I am seeing much better results than I ever did with LiteSpeed server (which I was paying for).

    Thread Starter George M

    (@plan9)

    Hello @vmarko

    Oh great. So everything is working as expected? The NGINX reverse proxy cache is a bit strange as there are no controls apart from emptying the cache.

    If I keep W3TC handling the page cache will this be slower than just letting NGINX cache the pages? I read somewhere that W3TC enhanced disk caching still needs to use PHP. Is that correct?

    Thread Starter George M

    (@plan9)

    Hi

    I am not quite sure what do you mean by the statement:

    reverse proxy is working. It just doesn’t look like W3 Total Cache is aware of it.

    OK – so W3 Total Cache only adds a config file when NGINX is used as the server – not used as reverse proxy for Apache?

    Here are example headers from the same server:

    Request URL: https://hub.site.com/alex/2021/11/12/my-first-post/
    Request Method: GET
    Status Code: 200 
    Remote Address: 88.422.28.16:443
    Referrer Policy: no-referrer-when-downgrade
    
    cache-control: max-age=3600, public
    content-encoding: gzip
    content-type: text/html; charset=UTF-8
    date: Fri, 04 Feb 2022 16:38:45 GMT
    etag: W/"b036a2b04f0c6d8330965e6619cddb4e"
    last-modified: Fri, 04 Feb 2022 16:38:18 GMT
    link: <https://hub.site.com/alex/wp-json/>; rel="https://api.w.org/", <https://hub.site.com/alex/wp-json/wp/v2/posts/37>; rel="alternate"; type="application/json", <https://hub.site.com/alex/?p=37>; rel=shortlink
    pragma: public
    referrer-policy: no-referrer-when-downgrade
    server: nginx
    vary: X-Forwarded-Proto,Accept-Encoding
    x-pingback: https://hub.site.com/alex/xmlrpc.php
    x-powered-by: W3 Total Cache/2.2.1
    
    :authority: hub.site.com
    :method: GET
    :path: /alex/2021/11/12/my-first-post/
    :scheme: https
    accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
    accept-encoding: gzip, deflate, br
    accept-language: en-GB,en;q=0.9
    cache-control: no-cache
    cookie: wordpress_test_cookie=WP+Cookie+check; wp_lang=en_GB; _ga=GA1.2.1656508639.1635758655; cookielawinfo-checkbox-necessary=yes; cookielawinfo-checkbox-functional=yes; cookielawinfo-checkbox-performance=yes; cookielawinfo-checkbox-analytics=yes; cookielawinfo-checkbox-advertisement=yes; cookielawinfo-checkbox-others=yes; CookieLawInfoConsent=eyJuZWNlc3NhcnkiOnRydWUsImZ1bmN0aW9uYWwiOnRydWUsInBlcmZvcm1hbmNlIjp0cnVlLCJhbmFseXRpY3MiOnRydWUsImFkdmVydGlzZW1lbnQiOnRydWUsIm90aGVycyI6dHJ1ZX0=; viewed_cookie_policy=yes
    pragma: no-cache
    referer: https://hub.site.com/alex/
    sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
    sec-ch-ua-mobile: ?0
    sec-ch-ua-platform: "macOS"
    sec-fetch-dest: document
    sec-fetch-mode: navigate
    sec-fetch-site: same-origin
    sec-fetch-user: ?1
    upgrade-insecure-requests: 1
    user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
    Request URL: https://hub.site.com/alex/2021/11/12/my-first-post/
    Request Method: GET
    Status Code: 200 
    Remote Address: 87.76.28.42:443
    Referrer Policy: no-referrer-when-downgrade
    
    cache-control: max-age=3600, public
    content-encoding: gzip
    content-type: text/html; charset=UTF-8
    date: Fri, 04 Feb 2022 16:38:45 GMT
    etag: W/"b036a2b04f0c6dh578ur65e6619cddb4e"
    last-modified: Fri, 04 Feb 2022 16:38:18 GMT
    link: <https://hub.site.com/alex/wp-json/>; rel="https://api.w.org/", <https://hub.site.com/alex/wp-json/wp/v2/posts/37>; rel="alternate"; type="application/json", <https://hub.site.com/alex/?p=37>; rel=shortlink
    pragma: public
    referrer-policy: no-referrer-when-downgrade
    server: nginx
    vary: X-Forwarded-Proto,Accept-Encoding
    x-pingback: https://hub.site.com/alex/xmlrpc.php
    x-powered-by: W3 Total Cache/2.2.1
    
    :authority: hub.site.com
    :method: GET
    :path: /alex/2021/11/12/my-first-post/
    :scheme: https
    accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
    accept-encoding: gzip, deflate, br
    accept-language: en-GB,en;q=0.9
    cache-control: no-cache
    cookie: wordpress_test_cookie=WP+Cookie+check; wp_lang=en_GB; _ga=GA1.2.1656508639.1635757270; cookielawinfo-checkbox-necessary=yes; cookielawinfo-checkbox-functional=yes; cookielawinfo-checkbox-performance=yes; cookielawinfo-checkbox-analytics=yes; cookielawinfo-checkbox-advertisement=yes; cookielawinfo-checkbox-others=yes; CookieLawInfoConsent=eyJuZWNlc3NhcnkiOfgoerngswtmZ1bmN0aW9uYWwiOnRydWUsInBlcmZvcm1hbmNlIjp0cnVlLCJhbmFseXRpY3MiOnRydWUsImFkdmVysfhuybnQiOnRydWUsIm90aGVycyI6dHJ1ZX0=; viewed_cookie_policy=yes
    pragma: no-cache
    referer: https://hub.site.com/alex/
    sec-ch-ua: " Not;A Brand";v="99", "Google Chrome";v="97", "Chromium";v="97"
    sec-ch-ua-mobile: ?0
    sec-ch-ua-platform: "macOS"
    sec-fetch-dest: document
    sec-fetch-mode: navigate
    sec-fetch-site: same-origin
    sec-fetch-user: ?1
    upgrade-insecure-requests: 1
    user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36
    • This reply was modified 2 years, 9 months ago by George M.
    Thread Starter George M

    (@plan9)

    I am seeing ‘Nginx’ in the headers, so the reverse proxy is working. It just doesn’t look like W3 Total Cache is aware of it.

    Thread Starter George M

    (@plan9)

    Hello

    Thanks for your reply. I can see the main nginx.conf located at /etc/nginx/nginx.conf

    I can’t find any nginx.conf at the web root of the wordpress site – and no mention of nginx.conf in Performance & Install.

    I don’t know if it is related but in the compatibility check it also lists all the apache mods as not detected, eg: mod_deflate: Not detected (required for disk enhanced Page Cache and Browser Cache)

    This was not the case before installing NGINX reverse proxy.

    • This reply was modified 2 years, 9 months ago by George M.
    • This reply was modified 2 years, 9 months ago by George M.
    Thread Starter George M

    (@plan9)

    Hi Marko

    Thanks for your explanation. I think a lot of people assume memory caching will always be better / faster than disk.

    It’s useful to know this is not always the case.

    Thread Starter George M

    (@plan9)

    Hi Marko

    Thanks for your reply. For Database Cache these are the stats:

    Storage Engine Time (ms)
    None 241.98
    Disk 0.21 -99.91%
    Redis 0.25 -99.90%
    Memcached 0.51 -99.79%
    APC 0.19 -99.92%`

    You can see that all RAM caching offers no gain over disk caching. I find this puzzling.

    Thread Starter George M

    (@plan9)

    Here are the stats from the setup page:

    Storage Engine Time (ms)
    None 137.78
    Disk: Basic 10.70 -92.23%
    Disk: Enhanced 9.38 -93.19%
    Redis 17.11 -87.59%
    Memcached 17.17 -87.54%
    APC 19.59 -85.78%`

    Thread Starter George M

    (@plan9)

    Hi

    I am referring to both Basic and Disk Enhanced.

    For page cache, Basic and Disk Enhanced are both faster (or equal) to Redis, Memcached and APCu.

    And it is the same for Database Cache and Object Cache.

    @queso I totally agree with you.

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