• Resolved Sean Hayes

    (@seanchayes)


    I have WP-SuperCache running and I see cached and expired stats in the admin screen but it is only caching pages on a particular category. The rest of the site is not cached.

    In the pages that are cached (with WP Cache and Super Cache set to on) this text is added:
    <!– Dynamic page generated in <time> seconds. –>
    <!– Cached page generated by WP-Super-Cache on <date & time> –>

    Same for Half ON mode.

    We’ve known it’s worked having run it on the site since inception but only recently has the site performance been in question and it was then we noticed that WSC was not actually caching all the pages we thought.

    I can’t find any option/configuration or setting that would make this happen.

    Anyone have any ideas beyond the installation notes and FAQ or perhaps has experienced this and has a suggested resolution?

    Thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Try the development version, it’s got a new “Debug Settings” section on the admin page to help track down problems.

    Thread Starter Sean Hayes

    (@seanchayes)

    OK – that looks like it might help direct me to more information.

    How do I get the development version?

    It’s on the plugin download page, right at the end after all the other versions.

    Thread Starter Sean Hayes

    (@seanchayes)

    Aha!

    Thank you

    Thread Starter Sean Hayes

    (@seanchayes)

    Found and installed and debugging.

    All pages have javascript “hidden” using :

    // <![CDATA[
    ... script code ...
    // ]]>

    Now, on the page that WP Super Cache works on the last “>” is a “>”. However, on all other pages (home, single post pages etc) it’s converted to “ampersand g t semi-colon” and that’s the only difference.

    Subsequently, WP Super Cache debug is reporting “No closing HTML tag” for those pages and not caching but I can’t understand why the tag is converted on some pages and not the other.

    Any ideas – anyone?

    Thank you

    Thread Starter Sean Hayes

    (@seanchayes)

    Finally – the debugging paid off.

    I tried to go to a page that I knew didn’t exist.

    In the debug message I got:
    “Output buffer may have been corrupted by another plugin or this is a redirected URL. Look for text ‘ob_start’ in the files of your plugins directory.”

    So, I did what it said. Well, I actually removed the most recent plugin and it worked right after that. So perhaps redirection was being performed through this plugin on most pages but bizarrely not one (of a particular category).

    🙂 (finally)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP Super Cache] Only caching a particular category’ is closed to new replies.