WordPress.org

Forums

[Plugin: WP Super Cache] Caching exceptions not working (7 posts)

  1. Milan Petrovic
    Member
    Posted 5 years ago #

    I have set this as a exception:

    ajax\.php

    And I expect that response from this file are not cached. Yet, they are and to make matters worse, WP Super Cache adds this to response from this file:

    <!-- WP Super Cache did not cache this page because you are logged in and "Don't cache pages for logged in users" is enabled. -->

    And there should be an option to prevent adding such messages because I don't see a point in having this comment in cached page.

    Since the response is JSON, JavaScript on page fails because response is no longer valid.

    Is there another way to prevent this caching? Should I add somewhere full path to this ajax file?

    Milan

  2. Donncha O Caoimh
    Member
    Posted 5 years ago #

    You should try the development version, it will only show that message when debugging is enabled.

  3. Milan Petrovic
    Member
    Posted 5 years ago #

    And for exceptions to work, I only need the file name, path is not important? Because full path is in the plugins folder.

  4. Donncha O Caoimh
    Member
    Posted 5 years ago #

    Yeah. Just the filename.

  5. avatarworf
    Member
    Posted 5 years ago #

    Wonderful! under Development version 0.9.7+

    Just a note for anybody who had a broken "auto detect" podpress action which causes other problems, add the files definition into the exclude file list in super-cache

    podpress_backend\.php

  6. Martin12345
    Member
    Posted 5 years ago #

    Hi all. Creator of thinktwit http://www.thepicketts.org/thinktwit/ has tried to follow instructions on WP super caches faq to allow Twitters API not to be cached. It is not working. Anybody who wants to look through the .php to see what should be done? Best regards, Martin Norway

  7. Martin12345
    Member
    Posted 5 years ago #

    Problem solved by creator - Thinktwit now awoids caching from all cache plugins.

Topic Closed

This topic has been closed to new replies.

About this Topic