WordPress.org

Support

Support » Plugins and Hacks » fragment caching

fragment caching

  • ovidiubica
    Member

    @ovidiubica

    Hello Frederick and congrats on the wonderful plugin.
    Can you please advice me on fragment caching?
    I’m using a combination of:
    Nginx
    Php-fpm 5.3.6
    Apc
    latest WordPress
    dev version of w3-total-cache with:
    Page caching (disk enhanced),
    Manual minify (disk basic),
    DB caching and obj cashing (APC)
    CDN (cloudfiles)
    all of it hosted on a rackspace cloud server with 512MB RAM.

    Everything looks ok so far but I’m stuck at fragment caching.
    I want to skip caching for the footer sidebar where I placed a Search terms tagging 2 widget.

    I put the following in my template:

    <!– mfunc –>
    dynamic sidebar PHP code
    <!– /mfunc –>

    Note: putting this on a single line like in the FAQ doesn’t work!

    The site loads just fine now but the widget seems to be static rather than dynamic.
    Is there any way I can verify if the fragment caching is working or not? I don’t see any tags in the source code.

    Also, does it matter if I use disk enhanced vs. disk basic in regards to fragment caching?

    Hope to fix this last glitch. I’m a speed optimization fanatic but I’m in a point where I might break something out of curiosity and the site is already in production.

    You know how they say… If its broken, fix it! If its not broken, fix it until it is broken.

    Thanks a lot!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frederick Townes
    Member

    @fredericktownes

    Are you sure that the code you’re adding is valid? Are there errors in your error log?

    ovidiubica
    Member

    @ovidiubica

    Hey Frederick, It’s been a while. I’ll have to get back to you on this. Meanwhile I just added stt2_ to ignore the stem queries so eventually the search terms show up.

    I’ll test again since there have been quite a few upgrades from last post.

    Plugin Author Frederick Townes
    Member

    @fredericktownes

    Ok.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘fragment caching’ is closed to new replies.