• It conflicts with WP Fastest Cache. The latter locks, while Slide Anything, shows all the images in the sidebar and the carousel no longer works.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author simonpedge

    (@simonpedge)

    Have never used “WP Fastest Cache” myself, but try playing around with the options which “Minify” (and “Combine“) the JavaScript and CSS – try disabling these settings first.

    Thread Starter divano

    (@divano)

    It’s the same and then, is not a solution, Minify Java and CSS are two of the jobs of a plugin for cache control and site improvement. With which plugin are you sure you have not found any conflicts?

    Thread Starter divano

    (@divano)

    The Chrome developer console reports the following error: Uncaught TypeError: jQuery(…).owlCarousel is not a function
    at HTMLDocument.<anonymous> ((index):195)
    at i (jquery.js:2)
    at Object.fireWith [as resolveWith] (jquery.js:2)
    at Function.ready (jquery.js:2)
    at HTMLDocument.K (jquery.js:2)

    So it is not a matter of WP Fastest Cache.

    Plugin Author simonpedge

    (@simonpedge)

    I must admit I’m not a fan of caching plugins in general. Often the speed improvements are negligible and they sometime cause conflicts with plugins.

    I find that enabling server GZIP compression reaps more speed benefits.

    You can test this out by adding the following to your ‘.htaccess’ file:

    <IfModule mod_deflate.c>
    AddOutputFilterByType DEFLATE text/plain
    AddOutputFilterByType DEFLATE text/html
    AddOutputFilterByType DEFLATE text/xml
    AddOutputFilterByType DEFLATE text/css
    AddOutputFilterByType DEFLATE application/xml
    AddOutputFilterByType DEFLATE application/xhtml+xml
    AddOutputFilterByType DEFLATE application/rss+xml
    AddOutputFilterByType DEFLATE application/javascript
    AddOutputFilterByType DEFLATE application/x-javascript
    AddOutputFilterByType DEFLATE application/x-httpd-php
    AddOutputFilterByType DEFLATE application/x-httpd-fastphp
    AddOutputFilterByType DEFLATE image/svg+xml
    SetOutputFilter DEFLATE
    </IfModule>

    And then check if GZIP compression is working correctly by going to: https://checkgzipcompression.com/

    (run some before or after speed tests on PINGDOM – https://tools.pingdom.com/)

    I often gets speed improvements in excess of 30%.

    • This reply was modified 6 years, 9 months ago by simonpedge.
    Thread Starter divano

    (@divano)

    I already have the mod deflate and the result of pingdom is A94, while gzip is 81%, i think(hope) is good.

    Plugin Author simonpedge

    (@simonpedge)

    If you do some before/after benchmarks with just adding this simple GZIP Compression code change to the “.htaccess” file of a site VS Installing full-blown caching plugins with all the bells & whistles enabled, you may be surprised.

    Another piece of code you can add to your “.htaccess” file is:

    ## LEVERAGE BROWSER CACHING ##
    ## Vary: Accept-Encoding Header
    <IfModule mod_headers.c>
    <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
    </FilesMatch>
    </IfModule>
    ## Expires Caching
    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/jpg "access 1 month"
    ExpiresByType image/jpeg "access 1 month"
    ExpiresByType image/gif "access 1 month"
    ExpiresByType image/png "access 1 month"
    ExpiresByType text/css "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 month"
    ExpiresDefault "access 1 month"
    </IfModule>

    This is normally good for a few percentage points in speed increase, but the GZIP Compression is normally the big one.

    • This reply was modified 6 years, 9 months ago by simonpedge.
    Thread Starter divano

    (@divano)

    I’ve already also this in the htaccess, however I have deactivated WP Fastest and installed “Autoptimize”, now your plugin works perfectly, Chrome does not give mistakes and it seems that the results of Pagespeed and other tools are the same. So it’s fine for me, your plugin is very useful to me, but I would work on this incompatibility, many use WP Fastest and this could affect SA’s success.

    Plugin Author simonpedge

    (@simonpedge)

    With caching plugins can you specify whether to exclude specific plugins for “minification”? (I seem to remember that option from when I’ve used caching plugins in the past).

    Also can you specify whether to load JS/JQuery in the footer/header of the site – in SA’s case this would have to be in the header.

    Thread Starter divano

    (@divano)

    Yes, it was true, but I admit that I could not find the exact SA files to exclude them.
    ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Conflicts with WP Fastest Cache’ is closed to new replies.