Note that there are some explanatory texts on larger screens.

plurals
  1. POAny good Zend Framework + Minify implementations?
    primarykey
    data
    text
    <p>Are there any good implementations of <a href="http://code.google.com/p/minify/" rel="nofollow">Minify</a> integration with Zend Framework? I'm looking for examples. </p> <p>I'd love to have a plugin that overrides $this->headLink() and spits out the correct minified url/content.</p> <p><strong>Edit:</strong></p> <p>It seems most examples I find aren't fully optimized in one form or fashion. I'm looking for a solution that meets the following requirements:</p> <p>Reduces multiple links and script tags to one request (one for link and one for scripts) The closest I've seen is a request path that passes a comma-delimited string to /min/ like so:</p> <pre><code>&lt;script src="/min?f=file1.js,file2,js,file3.js" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>Why not something that combines all scripts into one file on disk on the fly and then caches it so that you aren't doing the minification on every request?</p> <pre><code>&lt;script src="/js/app.js?someRandomStringHere" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>The combining aspect should maintain order (in reference to prepend, append, etc)</p> <p>While I don't care so much about sending correct expires headers because I force gzipping, etags, and expires headers on the server-side, having that optional would be beneficial to other users. </p> <p>Lastly, having a build script that generates the minified assets isn't necessary bad - as long as it is easy to do and doesn't require a code change after every build.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload