Docs
  • INTRO
    • What is Shoplift?
    • What to Test
    • Quickstart
      • Install Shoplift
      • Create a Test
      • Edit Your Variant
      • Launch Your Test
  • TEST
    • Template Testing
      • Overview
      • Guides
        • Guide: Testing Individual Pages
        • Guide: Testing One-Click Payment Methods
        • Guide: Testing App Blocks
        • Guide: Testing Different Template Types
      • Theme Compatibility
      • Template Management
      • Switching Themes
      • Shopify Markets
      • Shopify Translate & Adapt
    • Theme Testing
      • Overview
      • Guides
        • Guide: Testing a Navigation Menu
        • Guide: Testing a Mini Cart
      • Theme Management
      • Theme Development
      • Switching Themes
    • URL Testing
      • Overview
      • Guides
        • Guide: Testing URLs
        • Guide: Testing Product Properties
    • JavaScript API (Beta)
      • isHypothesisActive
      • setAnalyticsConsent
      • getVisitorData
    • Lift Assistâ„¢
      • What is Lift Assistâ„¢?
      • How To Use Lift Assistâ„¢
      • Brand Styles
    • Audience Targeting
      • Devices
      • New and Returning Visitors
      • Custom Audiences (UTMs, Referring Domains, and Geo-targeting)
    • Test Management
      • Test Compatibility
      • Mutual Exclusion
      • QA Checklist
      • Scheduling Tests
      • Pausing Tests
      • Implementing Winning Tests
    • Performance
      • Pagespeed
      • Shopify Caching
      • CDNs and Edge Delivery
  • ANALYZE
    • Reports
      • Overview
      • Metrics
        • Goals & Reporting Metrics
        • Metric Views
      • Test Progress
      • Statistical Significance
      • Channel Groups
    • Tracking
      • Visitor Attribution
      • Web Pixel
      • Liquid Snippet
      • Anti-Flicker
      • Analytics Discrepancies
  • integrate
    • Integrations and Tooling
      • GA4 (Beta)
        • Integrate GA4 (Shopify)
        • Integrate GA4 with Google Tag Manager
        • Integrate GA4 with Elevar
        • Analyze Test Data In Google Analytics
        • Disabling the GA4 Integration
      • Subscription Apps
      • Page Builder Apps
      • Reporting Tools
      • Heatmapping Tools
      • Custom Integrations
  • ADMIN
    • Plans and Billing
      • Subscription Plans
      • Uninstalling Shoplift
    • Users and Permissions
      • Managing Team Access
      • Managing User Notifications
    • Privacy and Compliance
      • Customer Data and GDPR
  • PARTNERS & DEVELOPERS
    • Shoplift Partner Program
    • Testing on Development Stores
  • SUPPORT
    • Frequently Asked Questions
    • Get Help
    • Give Feedback
Powered by GitBook

Contact Us

  • Get help
  • Give feedback
  • Request a feature

Helpful Links

  • Shoplift
  • Shopify App Store
On this page
  • What issues can occur if my theme code is being cached by Shopify?
  • How can I resolve issues related to caching?
  • What should I know about pagespeed impacts of Shopify caching?

Was this helpful?

  1. TEST
  2. Performance

Shopify Caching

Occasionally, Shopify will cache liquid files on your live theme to ensure optimal performance when loading for your website visitors.

Unfortunately, this also means that certain changes to liquid files that are present in your theme may not be served to your website visitors for a period of time.

What issues can occur if my theme code is being cached by Shopify?

If your theme's liquid code is being cached by Shopify, then it's possible that some changes you make as part of your tests will not go live to your customers until the cache is refreshed.

Sometimes, caches will refresh quite quickly, but it has also been observed to remain stale for as long as several days. If this happens, then it's possible that your test variants may not show the changes you are intending to test to your website visitors for an equal amount of time.

How can I resolve issues related to caching?

If you notice that the changes you are testing are not showing up on your test variants in your live tests, a reliable method to force Shopify to refresh the cache for your theme's liquid code has been to publish a fresh version of your theme.

So long as the theme you publish is a 1:1 copy of your current theme, your Shoplift tests will continue to run uninterrupted.

What should I know about pagespeed impacts of Shopify caching?

As Shopify only caches your live theme, there may be performance differences between live themes and unpublished themes. For merchants concerned about potential differences, consider leveraging a third-party caching or edge delivery solution when running theme tests to ensure that both themes are cached equivalently and provide relatively similar performance.

PreviousPagespeedNextCDNs and Edge Delivery

Last updated 8 months ago

Was this helpful?