WordPress.org

Ready to get started?Download WordPress

Forums

WP-HTML-Compression
Doesn't apply to wp-admin (4 posts)

5 stars
  1. fredwen
    Member
    Posted 1 year ago #

    Perhaps for future enhancement...

  2. Steven Vachon
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for the rating. Why would you want to compress the admin HTML, though? It isn't accessed nearly as much as the public content and can't be cached, so it'd just slow down the server.

  3. fredwen
    Member
    Posted 1 year ago #

    I'm interested more on the absolute to relative URL link conversion than compression. I need this feature because I want to offer wp-admin part from a different host, for example https://admin.sample.com so that this admin host can be secured by enterprise SiteMinder SSO. This leaves public facing site http://sample.com untouched by SiteMinder, which is not a highly stable product. Providing a separate host for wp-admin can be easily achieved through Apache mod_rewrite and r-proxy, but without relative URL links, every subsequent request from wp-admin results in a client-side redirect, and hence more performance penalty to site admins.
    It would be even better if you can offer an option to enable/disable URL conversion and HTML compression separately.

  4. Steven Vachon
    Member
    Plugin Author

    Posted 1 year ago #

    I'll keep it in mind for a future version when an admin panel is made available.

    In the meantime, if you upgrade to v0.5.4.2, open up wp-html-compression.php and comment out lines 35, 36, 41–46. That will enable the plugin for the admin, but it will also minify the HTML, thereby slowing down each page load by a small fraction of a second.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.