WordPress.org

Support

Support » Plugins and Hacks » [Plugin: WP Super Cache] I have a very simple suggestion for the super-cache

[Plugin: WP Super Cache] I have a very simple suggestion for the super-cache

  • Since the Super-Cache is generation a static file on the file system. I suggest there be an extra option that allows the users to simply compact the HTML file:

    JUST Remove the spaces and tabs in HTML.

    Because the gzip sometimes make IE works weird but a simple compact would make the file smaller without messing anything up. This may save some bandwidth for bloggers 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • Compacting HTML is actually a non-trivial problem. You can’t just arbitrarily get rid of newlines and spaces and tabs and such, because some of them matter and some of them don’t.

    Removing spaces is a lot less efficient than gzipping and as Otto says, some spaces matter! The latest releases of the plugin may have fixed the problems with IE. Have you updated your wp-content/cache/.htaccess?

    @otto42 Yes, reasonable tip, thanks 🙂

    @donncha Thanks so much! Let me take a look about the .htaccess issue.

    Thanks Donncha, I followed your tips and made it.

    Now at the foot of my page, it shows:

    <!– Dynamic Page Served (once) in 0.187 seconds –>
    <!– Cached page served by WP-Super-Cache –>
    <!– Compression = gzip –>

    So does that mean everything works fine for me? 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: WP Super Cache] I have a very simple suggestion for the super-cache’ is closed to new replies.
Skip to toolbar