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

  1. Aw Guo
    Posted 7 years ago #

    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 :)

  2. 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.

  3. Donncha O Caoimh
    Posted 7 years ago #

    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?

  4. Aw Guo
    Posted 7 years ago #

    @Otto42 Yes, reasonable tip, thanks :)

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

  5. Aw Guo
    Posted 7 years ago #

    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? :)

Topic Closed

This topic has been closed to new replies.

About this Topic