Get Started
How WP Rocket works with Product Feed Pro - AdTribes
  1. Home
  2. Knowledge Base
  3. Integration
  4. How WP Rocket works with Product Feed Pro

How WP Rocket works with Product Feed Pro

Running WP Rocket on a WooCommerce store is a smart performance move, but it’s natural to wonder whether a caching plugin can interfere with your product feeds. The good news is that Product Feed Pro and WP Rocket work well together — feed generation is entirely server-side and caching never touches your feed files. There’s one specific scenario to check: if you use the Facebook Pixel Add to Cart tracking feature, and you have WP Rocket’s Delay JavaScript execution enabled, you’ll need to add one exclusion. This article walks you through it.

How feed generation works with WP Rocket active

Product Feed Pro generates your feeds as static XML, CSV, or text files and stores them in your site’s uploads folder (at wp-content/uploads/woo-product-feed-pro/). When a channel like Google Shopping or Facebook Catalog fetches your feed, your web server delivers the file directly — no WordPress page request is involved, so WP Rocket’s page cache plays no part.

Feed schedules run through Action Scheduler on the server. They run independently of whether the page is served from cache. So automatic feed refreshes continue to work as normal.

All admin actions in Product Feed — including creating feeds, manually refreshing them, and adjusting settings — use WordPress’s admin AJAX endpoint. WP Rocket does not apply its optimisations to the WordPress admin area, so the admin panel works normally.

When WP Rocket is active, Product Feed Pro automatically registers your feed URLs as preload exclusions on WP Rocket’s side — no manual configuration needed. This prevents WP Rocket from preloading the (potentially large) feed files.

Check Delay JavaScript execution if you use Facebook Pixel

The only area where WP Rocket can affect Product Feed Pro is the Facebook Pixel feature. When you enable Add Facebook Pixel in Product Feed → Settings, the plugin loads a small script (woosea_add_cart.js) on your storefront. This script fires the Add to Cart event so Facebook can track shoppers as they add items to their cart.

WP Rocket’s Delay JavaScript execution feature holds all JavaScript until a shopper interacts with the page. If this is active and woosea_add_cart.js isn’t excluded, the Add to Cart event fires only after the first user interaction — meaning some events may not be tracked at all.

How to exclude the script

  1. Go to Settings → WP Rocket in your WordPress admin.
  2. Open the File Optimization tab.
  3. Scroll to the Delay JavaScript execution section.
  4. Find the Excluded JavaScript Files field and add woosea_add_cart.js on a new line.
  5. Click Save Changes.
WP Rocket File Optimization tab showing the Excluded JavaScript Files field with woosea_add_cart.js added

You only need this step if you have the Add Facebook Pixel checkbox enabled in Product Feed → Settings. If you don’t use the Facebook Pixel feature, no WP Rocket configuration changes are needed.

Troubleshooting

Facebook Pixel Add to Cart events aren’t recording
Check whether Delay JavaScript execution is enabled in WP Rocket’s File Optimization tab. If it is, add woosea_add_cart.js to the Excluded JavaScript Files field and save. Also, verify that Add Facebook Pixel is enabled and your Pixel ID is entered in Product Feed → Settings.
Feeds aren’t refreshing on their normal schedule
Check the Action Scheduler queue under WooCommerce → Status → Scheduled Actions for failed or pending feed generation tasks. Product Feed Pro schedules feeds through Action Scheduler, so feed timing is independent of page requests.
The Product Feed admin panel isn’t responding
Check your browser console for JavaScript errors and temporarily disable WP Rocket’s file optimisation to rule it out. WP Rocket doesn’t normally optimise the WordPress admin area, so if the panel is broken, WP Rocket is unlikely to be the cause.

FAQ

Do I need to configure anything if I don’t use the Facebook Pixel feature?
No. Feed generation, feed file delivery, and the Product Feed admin all work normally with WP Rocket active and at its default settings.
Will WP Rocket cache my feed files?
No. Feed files are static XML or CSV files stored in your uploads folder and delivered directly by your web server. WP Rocket only caches WordPress page requests, so feed files aren’t affected.
Can I use WP Rocket’s CDN integration alongside Product Feed Pro?
Yes. Feed files are just uploaded files — they’ll be served through the CDN like any other asset in your uploads folder. Feed consumers like Google or Meta fetch the feed URL on their own schedule, and CDN delivery works fine for this.
Should I add any exclusions to WP Rocket’s cache rules for Product Feed Pro?
No extra exclusions are needed. WP Rocket already excludes the admin AJAX endpoint (/wp-admin/admin-ajax.php) from caching by default, which covers all of Product Feed Pro’s admin actions.

Need more help?

If you’re on Product Feed Elite, open a support ticket after logging in to your account.

If you’re on Product Feed Pro (free), post your question in the WordPress.org support forum.

Was this article helpful?

Related Articles

Complete Your Purchase
AdTribes WooCommerce Product Feed

The best WooCommerce product feed plugin

  • AdTribes Pty Ltd
    ABN: 40 675 636 816
Product
Resources & Info
Partner Sites
Rymera