Skip to main contentTailor AI LogoTailor AI

    Performance & Compatibility

    How Tailor works with your existing stack. Core Web Vitals, SPAs, CDNs, iframes, and more.

    Core Web Vitals & Page Speed

    Tailor is designed to have minimal impact on page performance. The script is lightweight, non-blocking, and loads asynchronously when the async attribute is present on the script tag (which is the recommended and default installation method).

    What to Expect

    • Script typically loads in under 100ms
    • Core Web Vitals (LCP, CLS, INP) are generally unaffected with async loading
    • No render-blocking behavior
    • Search engines see the original page structure unchanged

    We recommend testing with Google PageSpeed Insights before and after installation to confirm there's no measurable impact on your specific site.

    Single-Page Apps (React, Next.js)

    Tailor works on single-page applications with no special SPA configuration needed. The script supports client-side navigation and re-evaluates targeting rules when the route changes.

    SPA Considerations

    • Tailored pages must be attached to the correct route/path in Tailor
    • Tailor handles most SPA frameworks automatically. In rare cases with complex re-render patterns, our team can configure a quick fix. Reach out and we'll handle it.

    CDN & Caching (Cloudflare, Fastly)

    Tailor operates entirely client-side and requires no CDN configuration changes. Here's how it works with your caching layer:

    • 1Your original HTML is cached and served from the CDN as usual
    • 2The page loads in the browser normally
    • 3The Tailor script reads the visitor's assignment and modifies the DOM client-side

    No CDN purging, cache-busting, or edge rules are needed. If you see unexpected behavior after deploying Tailor, clear your browser cache and test again to rule out stale content.

    iFrames & Embedded Widgets

    Tailor can personalize content inside an iframe only if the Tailor tag is installed on the page loaded inside the iframe. The parent page's Tailor tag cannot reach into a cross-origin iframe's DOM due to browser security restrictions.

    Cross-Origin iFrames

    For cross-origin iframes (embedded forms, booking widgets, etc.), install the Tailor tag on the iframe's source page itself. For third-party embeds you don't control, personalize the surrounding content (headline, CTA, images) instead. Most customers see strong results without modifying the embed itself. Contact support@tailorhq.ai for complex setups.

    Content Loading Behavior

    Tailor applies changes in milliseconds and is imperceptible to most visitors. The script runs client-side after the page renders, and the transition is typically under 100ms.

    Edge Cases

    • Slow network connections
    • Heavy pages with many resources to load
    • Complex DOM modifications (large sections of content being swapped)

    If the flash is noticeable to visitors on your site, reach out to support@tailorhq.ai and we can work on optimizations specific to your setup.

    Related Guides