• Resolved dtszero

    (@dtszero)


    Hi!

    I want to use multiple CDN for JS, CSS and Media files.

    In my other cache plugin I have the fields for add more cdn’s directions but in Autoptimize how I can do this?

    Regards,

    The page I need help with: [log in to see the link]

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

    (@optimizingmatters)

    well, for starters AO does not do media, only CSS/ JS ??

    now to differentiate between JS and CSS (incl. background images in the CSS) you could hook into AO’s API, specifically the autoptimize_filter_base_replace_cdn filter which gives you the CDN’ed URL based on the normal setting and alter that at your own convenience?

    hope this helps,
    frank

Viewing 1 replies (of 1 total)
  • The topic ‘Multi CDN’ is closed to new replies.