mirror of
https://github.com/mrclay/minify.git
synced 2025-01-17 13:18:13 +01:00
even more relative links
This commit is contained in:
parent
8056a4a9fb
commit
d041f763c9
@ -26,7 +26,7 @@ Short answer: **use Minify 2.1.4+, use a pre-compressed version of your file, an
|
|||||||
|
|
||||||
If the error is in your code, enable [debug mode](Debugging.wiki.md) while debugging your code in Firebug or your favorite browser's Javascript debugger. This will insert comments to allow you to keep track of the individual source locations in the combined file.
|
If the error is in your code, enable [debug mode](Debugging.wiki.md) while debugging your code in Firebug or your favorite browser's Javascript debugger. This will insert comments to allow you to keep track of the individual source locations in the combined file.
|
||||||
|
|
||||||
If you have Java on your web host, you can use the [wrapper for YUI Compressor](https://github.com/mrclay/minify/blob/master/lib/Minify/YUICompressor.php) instead of JSMin. [This thread](http://groups.google.com/group/minify/browse_thread/thread/f12f25f27e1256fe) shows how a user has done this.
|
If you have Java on your web host, you can use the [wrapper for YUI Compressor](../lib/Minify/YUICompressor.php) instead of JSMin. [This thread](http://groups.google.com/group/minify/browse_thread/thread/f12f25f27e1256fe) shows how a user has done this.
|
||||||
|
|
||||||
## Javascript isn't being minified
|
## Javascript isn't being minified
|
||||||
|
|
||||||
@ -48,7 +48,7 @@ Scriptaculous 1.8.2 (and probably all 1.x) has an [autoloader script](http://git
|
|||||||
|
|
||||||
If you upload files using [Coda or Transmit](http://groups.google.com/group/coda-users/browse_thread/thread/572d2dc315ec02e7/) or from a Windows PC to a non-Windows server, your new files may end up with the wrong `mtime` (timestamp) on the server, confusing the cache system.
|
If you upload files using [Coda or Transmit](http://groups.google.com/group/coda-users/browse_thread/thread/572d2dc315ec02e7/) or from a Windows PC to a non-Windows server, your new files may end up with the wrong `mtime` (timestamp) on the server, confusing the cache system.
|
||||||
|
|
||||||
Setting the [$min\_uploaderHoursBehind option](https://github.com/mrclay/minify/blob/master/config.php#L171) in `config.php` can compensate for this.
|
Setting the [$min\_uploaderHoursBehind option](../config.php#L171) in `config.php` can compensate for this.
|
||||||
|
|
||||||
WinSCP has a [Daylight Saving Time option](http://winscp.net/eng/docs/ui_login_environment#daylight_saving_time) that can prevent this issue.
|
WinSCP has a [Daylight Saving Time option](http://winscp.net/eng/docs/ui_login_environment#daylight_saving_time) that can prevent this issue.
|
||||||
|
|
||||||
|
@ -47,7 +47,7 @@ $controller = new Minify_Controller_Files($env, $sourceFactory);
|
|||||||
|
|
||||||
## Set up service and controller options
|
## Set up service and controller options
|
||||||
|
|
||||||
A single array is used for configuring both the behavior of `Minify::serve` (see the [default options](https://github.com/mrclay/minify/blob/master/lib/Minify.php#L73)) and the controller, which has its own option keys.
|
A single array is used for configuring both the behavior of `Minify::serve` (see the [default options](../lib/Minify.php#L73)) and the controller, which has its own option keys.
|
||||||
|
|
||||||
The Files controller only needs one key: `files`: the array of sources to be combined and served.
|
The Files controller only needs one key: `files`: the array of sources to be combined and served.
|
||||||
|
|
||||||
|
@ -79,8 +79,6 @@ Browse to http://example.com/min/builder/
|
|||||||
|
|
||||||
The Minify URI Builder will help you create URIs you can use to minify existing files on your site. You can see screenshots and get a feel for this process from this [walkthrough on mrclay.org](http://mrclay.org/index.php/2008/09/19/minify-21-on-mrclayorg/)
|
The Minify URI Builder will help you create URIs you can use to minify existing files on your site. You can see screenshots and get a feel for this process from this [walkthrough on mrclay.org](http://mrclay.org/index.php/2008/09/19/minify-21-on-mrclayorg/)
|
||||||
|
|
||||||
More info here: https://github.com/mrclay/minify/blob/master/MIN.txt
|
|
||||||
|
|
||||||
You may want to disable the [BuilderApp](BuilderApp.wiki.md) when not in use.
|
You may want to disable the [BuilderApp](BuilderApp.wiki.md) when not in use.
|
||||||
|
|
||||||
# Far-future Expires headers
|
# Far-future Expires headers
|
||||||
@ -110,9 +108,9 @@ Known issue: files with comment-like strings/regexps can cause problems in this
|
|||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
See [config.php](https://github.com/mrclay/minify/blob/master/config.php) for general config options.
|
See [config.php](../config.php) for general config options.
|
||||||
|
|
||||||
[groupsConfig.php](https://github.com/mrclay/minify/blob/master/groupsConfig.php) holds preset groups of files to minify. (The builder application can help with this).
|
[groupsConfig.php](../groupsConfig.php) holds preset groups of files to minify. (The builder application can help with this).
|
||||||
|
|
||||||
[CookBook](CookBook.wiki.md) shows how to customize settings between production/development environments, and between groups.
|
[CookBook](CookBook.wiki.md) shows how to customize settings between production/development environments, and between groups.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user