• Resolved snuffybg

    (@snuffybg)


    Hello,
    I have project where they use your plugin. The client wants on the same website to create new theme wihtout disturbing the visitors. I have setup condition to swap themes by user. The only thing i want is to prevent autooptimize runnign for the new theme since it may have same classes etc or js conflicts. I know its dumb but the client want it that way.
    So do you have solution for that ? I can always go to your plugin and set condition somewhere in your plugin. Just tell me where will be the best place for this.

Viewing 1 replies (of 1 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO will re-optimize the page with the updated CSS/ JS so there _should_ not be a problem, but if you want you can simply hook into the autoptimize_filter_noptimize filter, returning true and all will be as requested ??

    have fun!
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Hook to prevent caching ?’ is closed to new replies.