Home Forums WordPress Plugins Hide My WP How to use the "replace in HTML" function?

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #380
    milo
    Post count: 4

    Hi there!

    One more question 🙂 I’m using WP Super Cache, which puts this comment into the source code at the bottom of every page:

    <!-- Dynamic page generated in 0.326 seconds. -->
    <!-- Cached page generated by WP-Super-Cache on 2013-10-31 17:08:05 -->
    
    <!-- Compression = gzip -->

    My question is how can I get rid of this? I tried to do this with “Replace in HTML”, but I can’t find the correct string.

    #393
    Hassan
    Post count: 955

    There’s some dynamic text here (date and time). Try this one:

    <!-- Dynamic page generated in = <!-- Generated in
    <!-- Cached page generated by WP-Super-Cache=<!-- Render
    <!-- Compression [equal] gzip -->=

    W3TC comments couldn’t be removed by Replace in HTML so I force to use another way to delete it by default (for untrusted users).

    If above method doesn’t work please let me know so I fix it for next version.

    #397
    milo
    Post count: 4

    Hello Hassan!

    Thanks for this method, but it doesn’t work 🙁

    I still have original WP Super Cache comments.

    #400
    Hassan
    Post count: 955

    OK,Thanks for backing to me.

    So I will work on it for v2.2.

    #407
    Hassan
    Post count: 955

    Hi Again,

    I was working on new version and I notice you can easily remove it from Super Cache settings page.

    In fact it’s a debug feature that may be useful in some situations. Anyway you can always disable it: Go to debug tab in WP Super Cache settings page and disable ‘Cache Status Messages’.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.