• Resolved mintmedia

    (@mintmedia)


    Hi!

    We love the optimize/aggregate and minification features for CSS and JS files that Autoptimize offers. However, we have some files (primarily JQuery) from website and from certain plugins that are being cached despite excluding from optimizations.

    Is there a way to set/make sure that certain JS files NEVER get cached? What would be the best approach to this?

Viewing 5 replies - 31 through 35 (of 35 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    that’s what the “don’t aggregate but defer” option is for, no? ??

    Thread Starter mintmedia

    (@mintmedia)

    Yes but is there a way to set defer or async for aggregated assets?

    Also, is there a way to set defer for specific optimized assets?

    btw, your support has been amazing here. Is there a way for me to donate a small amount as a thank you?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    not sure I understand; do you want “don’t aggregate but defer” off and decide on a per-resource basis to async or to defer the JS or do neither?

    Thread Starter mintmedia

    (@mintmedia)

    Yes that’s one question, but also is there a way to defer or async aggregated and excluded optimized assets as well?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, when you’re aggregating JS (and not forcing in head), it is deferred by default. you could use the “async” field on the Extra tab to async the non-aggregated JS (but typically if you have to exclude JS from being aggregated it is likely to break when asynced or deferred anyway).

Viewing 5 replies - 31 through 35 (of 35 total)
  • The topic ‘Excluding certain files from being cached’ is closed to new replies.