• Resolved RayB56

    (@stryker56)


    hello,

    I can’t for the life of figure out why your plugin is not working on one of my websites. No matter what I do – The commented out text (proving that Fastest Cache is working) at the end of the HTML doesn’t show

    It’s a secure SSL site and I have made sure https:// is entered in the Settings > General as per your instructions.

    What other reasons would it not work? I have updated all other plugins and other troubleshooting steps.

    Hopefully you can help me on this one ?? I have provided the link to the website.

    Thanks
    Ray.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Emre Vona

    (@emrevona)

    it works. you cannot see the commented out text if you are logged-in as admin.

    Thread Starter RayB56

    (@stryker56)

    Hey Emre, Thanks heaps for the quick reply.

    Yes, I made sure I was not logged in at all before refreshing the site and then viewing the source code. That is what made it so weird.

    I just realise that it’s only when I am using chrome. If I open another browser I can see the caching comment at the end or if I view it on another PC I can also see the comment so at least the caching is working OK. I will just need to open the site in Firefox or something to prove that it’s working.

    A bit weird why chrome is not showing the end of page comment. I clear the cache before refreshing as well. Any ideas why that would happen?

    Thanks again.

    Plugin Author Emre Vona

    (@emrevona)

    Chrome has so strict browser caching. Can you send me the htaccess file please?

    Thread Starter RayB56

    (@stryker56)

    Sure. Thanks for looking at it. The only thing I added manually was to force the SSL protocol for files.

    # BEGIN WpFastestCache
    # Modified Time: 13-10-20 4:11:43
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTPS} =on
    RewriteCond %{HTTP_HOST} ^www.southwest-hydraulics.com.au
    # Start WPFC Exclude
    # End WPFC Exclude
    # Start_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=psw-admin
    # End_WPFC_Exclude_Admin_Cookie
    RewriteCond %{HTTP_HOST} ^www.southwest-hydraulics.com.au
    RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
    RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
    RewriteCond %{REQUEST_METHOD} !POST
    RewriteCond %{REQUEST_URI} !(\/){2}$
    RewriteCond %{REQUEST_URI} \/$
    RewriteCond %{QUERY_STRING} !.+
    RewriteCond %{HTTP:Cookie} !comment_author_
    RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
    RewriteCond %{HTTP:Profile} !^[a-z0-9\”]+ [NC]
    RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
    RewriteCond /home11/pswebsit/public_html/southwest-hydraulics.com.au/wp-content/cache/all/$1/index.html -f
    RewriteRule ^(.*) “/wp-content/cache/all/$1/index.html” [L]
    </IfModule>
    <FilesMatch “index\.(html|htm)$”>
    AddDefaultCharset UTF-8
    <ifModule mod_headers.c>
    FileETag None
    Header unset ETag
    Header set Cache-Control “max-age=0, no-cache, no-store, must-revalidate”
    Header set Pragma “no-cache”
    Header set Expires “Mon, 29 Oct 1923 20:30:00 GMT”
    </ifModule>
    </FilesMatch>
    # END WpFastestCache
    # BEGIN LBCWpFastestCache
    <FilesMatch “\.(webm|ogg|mp4|ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|otf|ttf|svg|eot)(\.gz)?$”>
    <IfModule mod_expires.c>
    AddType application/font-woff2 .woff2
    AddType application/x-font-opentype .otf
    ExpiresActive On
    ExpiresDefault A0
    ExpiresByType video/webm A10368000
    ExpiresByType video/ogg A10368000
    ExpiresByType video/mp4 A10368000
    ExpiresByType image/webp A10368000
    ExpiresByType image/gif A10368000
    ExpiresByType image/png A10368000
    ExpiresByType image/jpg A10368000
    ExpiresByType image/jpeg A10368000
    ExpiresByType image/ico A10368000
    ExpiresByType image/svg+xml A10368000
    ExpiresByType text/css A10368000
    ExpiresByType text/javascript A10368000
    ExpiresByType application/javascript A10368000
    ExpiresByType application/x-javascript A10368000
    ExpiresByType application/font-woff2 A10368000
    ExpiresByType application/x-font-opentype A10368000
    ExpiresByType application/x-font-truetype A10368000
    </IfModule>
    <IfModule mod_headers.c>
    Header set Expires “max-age=A10368000, public”
    Header unset ETag
    Header set Connection keep-alive
    FileETag None
    </IfModule>
    </FilesMatch>
    # END LBCWpFastestCache
    # BEGIN LSCACHE
    # END LSCACHE
    # BEGIN NON_LSCACHE
    # END NON_LSCACHE

    #FORCE SSL for all pages code
    RewriteCond %{HTTPS} off
    RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    RewriteCond %{HTTP_HOST} !^www\.
    RewriteRule .* https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    #This Apache config file was created by Duplicator Installer on 2020-10-13 04:03:23.
    #The original can be found in archived file with the name .htaccess__[HASH]
    # 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

    Plugin Author Emre Vona

    (@emrevona)

    everything seems ok. you should clear cache of your Chrome browser.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t figure out why Fastest Cache is not working’ is closed to new replies.