• Resolved ilyapokrov

    (@ilyapokrov)


    Tell me, I use the Autoptimize caching plugin.
    When it is enabled, the slider does not work. Instead, all images are displayed in a column.
    I can solve this problem if I add the js file to the list of exceptions. Can you tell me the name of this js file? I can’t find.

    Thanks.

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter ilyapokrov

    (@ilyapokrov)

    @optimizingmatters,
    I guess you’re tired of explaining things to me and think I’m stupid))

    But, if I prescribe with a list of exceptions “plugins/woo-product-gallery-slider/” – this doesn’t work.
    “plugins/woo-product-gallery-slider/js/jquery/jquery.js” – doesn’t work.

    “plugins/woo-product-gallery-slider/, js/jquery/jquery.js” – solves the problem. But in this case, the gallery plugin and all JS files on the site are excluded.

    Why then, in principle, put a check mark “Optimize JavaScript code”, if we added all the js files of my site to the list of exceptions.

    I guess you’re tired of explaining things to me and think I’m stupid))

    No, just more then one support thread and lots of meetings today ??

    But, if I prescribe with a list of exceptions “plugins/woo-product-gallery-slider/” – this doesn’t work.

    right, because the slider requires jQuery to be available.

    “plugins/woo-product-gallery-slider/js/jquery/jquery.js” – doesn’t work.

    that one is bound to fail indeed

    “plugins/woo-product-gallery-slider/, js/jquery/jquery.js” – solves the problem. But in this case, the gallery plugin and all JS files on the site are excluded.

    no, it should exclude jquery & the gallery JS, all other JS (and I would be surprised if you did not have any other) would still be aggregated & minified.

    Why then, in principle, put a check mark “Optimize JavaScript code”, if we added all the js files of my site to the list of exceptions.

    because the non-excluded JS would be still optimized ??

    have a nice friday!
    frank

    Thread Starter ilyapokrov

    (@ilyapokrov)

    @optimizingmatters,
    I checked “Merge embedded JS”. I didn’t write anything in the exception rules. And that solved my problem. Everything is displayed correctly. In addition, for PageSpeed Insights, I received more points thanks to this method.

    Was that possible? Or is the option you suggested more correct?

    that might indeed work well, but comes with a risk of cache misses for the optimized JS, causing new optimized files to be put in cache and thus causing the cache to grow too quickly, so maybe keep an eye on that?

    Thread Starter ilyapokrov

    (@ilyapokrov)

    @optimizingmatters,
    I will clean the cache more often) Thanks for the help. You are very kind. Good luck to you)

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Caching plugin’ is closed to new replies.