WPSlash

Disable REST API Caching when using WooFood

Wednesday April 29, 2020

WooFood Automatic Printing software using WordPress REST API to fetch orders.

If you using a caching plugin you must be sure that you have excluding caching on REST API. With other words, you should exclude URLs including wp-json , because caching REST API orders will make AutoPrint software getting the same data until the cache expires.

This may make the AutoPrint software print the same order over and over…

Here are some sample instructions on how to disable REST API Caching on.

Disable Rest API Caching on Litespeed

disable rest api caching screenshot
  1. Navigate to Litespeed > Cache
  2. Be sure that Cache REST API is OFF
  3. Save Settings and you are ready to go!

Disable REST API Caching on Cloudflare

disable rest api caching cloud flare screenshot wordpress
  1. Navigate to Page Rules
  2. In the section If the url matches type this url https://www.example.com/wp-json/woofood/* by replacing example.com with your actual domain name
  3. Set Cache Level to Bypass
  4. Set Browser Integrity Check to Bypass
  5. Press Save and Deploy and you are ready!

Leave a Comment

Your email address will not be published. Required fields are marked *

Related Articles

Restaurants Tutorials

The Cheapest Food Delivery App for Restaurants Isn’t an App at All — It’s WooFood

When restaurant owners start looking for the cheapest food delivery app, they quickly discover a frustrating truth: most “cheap” delivery platforms aren’t cheap at all. They either take commissions, charge high monthly fees, lock you into their payment processors, or limit how much control you have over your own customer base. But what if the […]
December 1, 2025
Restaurants WooFood

Why “Free” GloriaFood Might Not Be The Best Long-Term Bet For Your Restaurant

When you’re building an online ordering system for your restaurant, it’s tempting to go for a “free” solution. That’s exactly what GloriaFood offers: a ready-to-go, easy-to-install WordPress plugin for online ordering, delivery, and reservations with no setup fees or commissions But “free” doesn’t always mean “best,” especially when you’re serious about owning your brand, your […]
December 1, 2025
Tutorials WooCommerce

How to Choose the Best Food Ordering System for Your Restaurant (And Why WooFood is the Ultimate Solution)

If you’re running a restaurant, café, or fast-food business in today’s digital age, offering online food ordering is no longer optional — it’s essential. Customers expect the convenience of browsing your menu, customizing their orders, and checking out seamlessly from their phone or computer. But with so many plugins and systems available, how do you choose the right […]
April 21, 2025