Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Does anyone Minify their JS and CSS using the Plugin ?
422
MVP
We do, and noticed today that if we click the associated js or css file, we get a 404 error... thats Minification to the extreme , ironically.
The files minified are:
If anyone else uses this Minify Plugin, via the Dashboard, have you looked at your src code, and tested to see if your files are returning 400 Bad Requests.
Now this could possibly be because we have our own theme.. but I wouldnt have thought this would cause this error.
Error Code: HTTP/1.0 400 Bad Request
from W3C
The files minified are:
<link rel="stylesheet" type="text/css" href="/forums/plugins/Minify/min/?token=XXXXXXXXXX&v=2.0.17.10" media="screen" />
<script src="/forums/plugins/Minify/min/?token=XXXXXXXXXX&v=2.0.17.10" type="text/javascript"></script>
If anyone else uses this Minify Plugin, via the Dashboard, have you looked at your src code, and tested to see if your files are returning 400 Bad Requests.
Now this could possibly be because we have our own theme.. but I wouldnt have thought this would cause this error.
Error Code: HTTP/1.0 400 Bad Request
from W3C
400 Bad RequestSo is it an inherant issue with the plugin ?
The request could not be understood by the server due to malformed syntax. The client should not repeat the request without modifications.
There was an error rendering this rich post.
Tagged:
0
Best Answer
-
x00 MVPpagespead caches the results, are like so
<link rel="stylesheet" type="text/css" href="/cache/ps/style.504077418.css" media="all" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript">
<script type="text/javascript" src="/cache/ps/functions.959130865.js">grep is your friend.
0
Answers
There was an error rendering this rich post.
Minify was know to be broken for a long time, I don't know it it was fixed.
grep is your friend.
Obfuscation is kind of a flawed concept, as far as javascript is concerned, unless extensive preformatting checks are done, which is unproven. Note: obfuscation and minification are different, but most minifiers use some degree of obfuscation becuase it help compress more, and also make it difficult to read. YUI Compressor only has slight obfuscation for the reasons I've stated.
Obfuscation is absolutely fine if you have control over the source, then bugs get reported and fixed, but where scripts are added here an there, conflicts are inevitable if changes are made. if you are happy with that, then by all means use it.
grep is your friend.
grep is your friend.