Title: Exclude admin-ajax.php from caching
Last modified: January 24, 2017

---

# Exclude admin-ajax.php from caching

 *  [robbybobble](https://wordpress.org/support/users/robbybobble/)
 * (@robbybobble)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-ajax-php-from-caching/)
 * HI,
 * we use the Woocommerce One Page Checkout and want to cache it with cachify. But
   when its active we get following error in the browser console:
    /wp-admin/admin-
   ajax.php POST 403 xhr jquery.js?ver=1.12.4:4 and its not possible to order.
 * My question:
 * In “W3 total cache” you can exclude admin-ajax.php from the page cache. Can I
   exclude the admin-ajax.php in cachify as well?
 * Thank you for any help,
 * Robert

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-ajax-php-from-caching/#post-8701267)
 * You can exclude pages by ID or you can use the `cachify_skip_cache` filter hook:
   
   [https://github.com/pluginkollektiv/cachify/wiki/en-Settings#cache-exceptions-postpage-ids](https://github.com/pluginkollektiv/cachify/wiki/en-Settings#cache-exceptions-postpage-ids)
 * All the best,
    Torsten
 *  Plugin Support [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * (@zodiac1978)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-ajax-php-from-caching/#post-8790453)
 * The checkout page should be excluded through the DONOTCACHEPAGE constant:
    [https://docs.woocommerce.com/document/configuring-caching-plugins/](https://docs.woocommerce.com/document/configuring-caching-plugins/)
 * Are you still caching if you are logged in?
    [https://github.com/pluginkollektiv/cachify/wiki/en-Settings#cache-generation-no-cache-generation-by-logged-in-users](https://github.com/pluginkollektiv/cachify/wiki/en-Settings#cache-generation-no-cache-generation-by-logged-in-users)
 * All the best,
    Torsten

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude admin-ajax.php from caching’ is closed to new replies.

 * ![](https://ps.w.org/cachify/assets/icon-256x256.png?rev=2505413)
 * [Cachify](https://wordpress.org/plugins/cachify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cachify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cachify/)
 * [Active Topics](https://wordpress.org/support/plugin/cachify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cachify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cachify/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Torsten Landsiedel](https://wordpress.org/support/users/zodiac1978/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/exclude-admin-ajax-php-from-caching/#post-8790453)
 * Status: not resolved