Changeset 610571
- Timestamp:
- 10/11/2012 12:30:37 AM (13 years ago)
- Location:
- wp-html-compression
- Files:
-
- 2 edited
-
tags/0.5.3/readme.txt (modified) (1 diff)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-html-compression/tags/0.5.3/readme.txt
r601832 r610571 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 = My URLs have the "http:" and/or "https:" stripped?? = 46 47 This is totally fine and actually intentional. It's standard and will not cause 404s nor get in the way of your SEO, but it *will* lower file size! You might be interested in reading more about this technique, called **[scheme-relative URLs](http://paulirish.com/2010/the-protocol-relative-url/)**. 48 49 = Why does my compressed HTML have a space between most tags? = 50 51 To preserves *rendered* whitespace. One or more line breaks in your markup are rendered as a single space in a web browser. Visual discrepancies would occur if those line breaks were not converted to at least one space. 44 52 45 53 = How do I mark areas that should not be compressed? = -
wp-html-compression/trunk/readme.txt
r601832 r610571 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 = My URLs have the "http:" and/or "https:" stripped?? = 46 47 This is totally fine and actually intentional. It's standard and will not cause 404s nor get in the way of your SEO, but it *will* lower file size! You might be interested in reading more about this technique, called **[scheme-relative URLs](http://paulirish.com/2010/the-protocol-relative-url/)**. 48 49 = Why does my compressed HTML have a space between most tags? = 50 51 To preserves *rendered* whitespace. One or more line breaks in your markup are rendered as a single space in a web browser. Visual discrepancies would occur if those line breaks were not converted to at least one space. 44 52 45 53 = How do I mark areas that should not be compressed? =
Note: See TracChangeset
for help on using the changeset viewer.