Forums

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

  1. GDragoN
    Member
    Posted 1 month 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
    Member
    Posted 1 month ago #

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

  3. GDragoN
    Member
    Posted 1 month 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
    Member
    Posted 1 month ago #

    Yeah. Just the filename.

  5. avatarworf
    Member
    Posted 1 week 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

Reply

You must log in to post.

About this Topic