Checkout Cache Buster and Asset Loading

  • KPrevious lesson
  • FSearch lessons
  • EscClear search

Checkout Cache Buster gives supported FluentCart cart requests and cart-drawer checkout links a fresh URL. It helps prevent a cached response from showing a guest an outdated cart.

The module complements your cache exclusions. It is not a replacement for keeping personalized cart and checkout pages out of full-page or CDN caching.

Enable the Module

Turn on Checkout Cache Buster in GT Extensions and save. There are no additional merchant settings.

  • Eligible native cart requests receive a fresh cache parameter.
  • Checkout links generated for the cart drawer keep their native cart parameters while gaining a fresh URL.
  • Unrelated requests and off-site requests are left alone.
  • Product pages, configured commerce pages and supported embedded product controls are the relevant surfaces.

Check a Guest Cart

Use a guest session, add a product, change its quantity and open checkout from the cart drawer. Confirm that the same items and quantities arrive at checkout. Also check your host or CDN’s cart, checkout and personalized-account exclusions.

Do not run two copies of the same workaround. If another plugin or custom snippet already wraps FluentCart requests for this purpose, keep one owner for that behavior.

Asset Loading

The plugin serves minified CSS and JavaScript with content-based versions for browser caching. WordPress script-debug mode does not switch its owned assets back to unminified files.

  • Product admin tools load when their FluentCart product screens need them.
  • Invoice editing tools and the media library are reserved for relevant editors.
  • Wishlist, customer tools, checkout options and design assets use separate bundles.
  • Currency-selector assets load where the selector is rendered, including every page if you put it in a site-wide header.

Developers can use gtfc_checkout_cache_buster_enabled to disable this module’s behavior. See the hooks reference before adding a custom integration, and rebuild the plugin assets after changing their source files.