Changeset 601832
- Timestamp:
- 09/21/2012 01:20:35 AM (14 years ago)
- Location:
- wp-html-compression/trunk
- Files:
-
- 3 edited
-
external/absolute-to-relative-urls.php (modified) (1 diff)
-
readme.txt (modified) (5 diffs)
-
wp-html-compression.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-html-compression/trunk/external/absolute-to-relative-urls.php
r583135 r601832 1 1 <?php 2 /*3 Plugin Name: Absolute-to-Relative URLs4 Plugin URI: http://www.svachon.com/5 Description: A <strong>function</strong> for use in shortening URL links. Just use <code><strong>absolute_to_relative_url</strong>( string <em>$url</em> [, bool <em>$ignore_www</em> = <em>true</em> [, bool <em>$choose_shortest</em> = <em>true</em>]] )</code>.6 Version: 0.3.17 Author: Steven Vachon8 Author URI: http://www.svachon.com/9 Author Email: prometh@gmail.com10 */11 12 2 13 3 class Absolute_to_Relative_URLs -
wp-html-compression/trunk/readme.txt
r584119 r601832 2 2 Author: Steven Vachon 3 3 URL: http://www.svachon.com/ 4 Contact: prometh@gmail.com4 Contact: contact@svachon.com 5 5 Contributors: prometh 6 6 Tags: absolute, bandwidth, comment, comments, compress, compressed, compression, faster, google, html, link, links, loading, optimize, optimization, minification, minified, minify, performance, plugin, reduction, relative, seo, shorten, speed, space, template, url, urls, whitespace 7 7 Requires at least: 3.2 8 Tested up to: 3.4. 18 Tested up to: 3.4.2 9 9 Stable tag: trunk 10 10 … … 16 16 Combining HTML "minification" with cache and HTTP compression (**[WP Super Cache](http://wordpress.org/extend/plugins/wp-super-cache/)**, or similar) will cut down your bandwidth and ensure near-immediate content delivery while increasing your Google rankings. 17 17 18 This plugin will compress your HTML by shortening **URLs** and removing **standard comments** and **whitespace**; including new lines, carriage returns, tabs and excess spaces. Most importantly, by ignoring `<pre>`, `<textarea>`, `<script>` and Explorer ®`conditional comment` tags, ***presentation will not be affected***.18 This plugin will compress your HTML by shortening **URLs** and removing **standard comments** and **whitespace**; including new lines, carriage returns, tabs and excess spaces. Most importantly, by ignoring `<pre>`, `<textarea>`, `<script>` and Explorer `conditional comment` tags, ***presentation will not be affected***. 19 19 20 20 … … 31 31 Yes, slightly. While you should be using **[WP Super Cache](http://wordpress.org/extend/plugins/wp-super-cache/)** anyway, it will correct the issue. 32 32 33 = Will Internet Explorer ®conditional comments be removed? =33 = Will Internet Explorer conditional comments be removed? = 34 34 35 35 No. … … 42 42 43 43 If the links in your HTML are *not* hard-coded as hashes without the use of a script, an issue could occur with URL shortening. If so, setting `$shorten_urls` (on line `26`) to `false` will fix that. 44 45 = Does this plugin use URL shortening services like TinyURL? =46 47 No, it comes with one of my other plugins, **[Absolute-to-Relative URLs](http://wordpress.org/extend/plugins/absolute-to-relative-urls/)**. Check it out for some examples.48 44 49 45 = How do I mark areas that should not be compressed? = … … 72 68 73 69 == Changelog == 70 71 = 0.5.3 = 72 * Bypasses compression for robots.txt 73 * Corrected "invalid plugin header" issue when activating from install screen 74 74 75 75 = 0.5.2 = -
wp-html-compression/trunk/wp-html-compression.php
r583135 r601832 2 2 /* 3 3 Plugin Name: WP-HTML-Compression 4 Plugin URI: http://www.svachon.com/ wp-html-compression/4 Plugin URI: http://www.svachon.com/blog/wp-html-compression/ 5 5 Description: Reduce file size by shortening URLs and safely removing all standard comments and unnecessary whitespace from an HTML document. 6 Version: 0.5. 26 Version: 0.5.3 7 7 Author: Steven Vachon 8 8 Author URI: http://www.svachon.com/ 9 Author Email: prometh@gmail.com9 Author Email: contact@svachon.com 10 10 */ 11 11 … … 241 241 function wp_html_compression_start() 242 242 { 243 if (!is_feed() )243 if (!is_feed() && !is_robots()) 244 244 { 245 245 ob_start('wp_html_compression_finish');
Note: See TracChangeset
for help on using the changeset viewer.