Shopware 5
  • Personalization for Shopware 5
  • Installing
  • Disconnecting
  • Uninstalling
  • Configuring
  • Guides
    • Varnish & Full-Page Caches
    • Managing Recommendations
    • Overriding or Extending Functionalities
      • Overriding Product Data
      • Overriding Customer Data
  • Features
    • Variations (Configurable Products)
    • Add to Cart
    • Supplier Cost & Inventory Level
    • Restore Cart Link
    • Ratings & Reviews
    • Marketing permission and GDPR compatibility
    • Multi Currency (Exchange Rates)
  • FAQ
  • Developing & Contributing
  • Visit Nosto
  • Issues
  • Releases
  • Shopware 6
Powered by GitBook
On this page

Was this helpful?

  1. Guides

Varnish & Full-Page Caches

PreviousGuidesNextManaging Recommendations

Last updated 1 year ago

Was this helpful?

Nosto injects the details of the currently logged in customer, the contents of the current shopping cart, and the currently active currency. It does so on all pages. Since these data for these are session dependant, they should never be cached. As a solution for this, Nosto for Shopware supports hole-punching these sections via it's built-in caching support.

You must ensure that no sensitive personal-data is cached. In the event that personal-data is cached, it will leak across sessions and in cases, may even get indexed by search engine crawler.

Nosto for Shopware works out of the box with Nosto does this by leveraging . Action Tags automatically hole-punch certain parts of the page and when used with Varnish, it auto generates the necessary Edge Side Includes (ESI).

This feature is only supported from version 2.4.8 onwards. If you are running an older version, we recommend you upgrade immediately.

Nosto adds query parameters to the product URLs for tracking purposes. You may encounter a cache-miss when query parameters are appended to the URL. We recommend .

Shopware's HTTP cache.
Shopware's support for Action Tags
modifying your VCL definition to automatically strip out the query parameters added by Nosto