Support » Plugin: Autoptimize » Renaming some but not all optimise files

  • Resolved Chris

    (@rtwlabs)


    I’m trying to delay the loading of some of the optimised js files on a site. I can target these easily enough by going off the “autoptimize_” prefix or setting my own prefix via the filter.

    The issue I’ve come across however is that for any files I need to exclude from being optimised they get tagged with this prefix “autoptimize_single_” which means they still get caught in my delay script and break.

    Is there a way to just rename the prefix of the main optimised files or not have the plugin mask the names of the js files I’ve excluded to avoid the overlap I’m running into?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Renaming some but not all optimise files’ is closed to new replies.