Today I quit smoking. Right now. After Years of trying, reading books, stopping & starting to smoke again…
I just quit. Now. The reason is very strong, and it has to do with my father, son, family.
And I do not regret. Not a 1%.
Today I quit smoking. Right now. After Years of trying, reading books, stopping & starting to smoke again…
I just quit. Now. The reason is very strong, and it has to do with my father, son, family.
And I do not regret. Not a 1%.
I needed to implement some CSS compression, and minification, so I made some tests regarding the improvements. The content is delivered by Apache’s GZIP deflate, so the only thing to check was the effect of putting all CSS in one file, and packing it afterwards. For me, the results were surprising.
The most interesting part was a difference between 1. and 2. I’m not sure why this happened. The other curious thing is that basically cssTidy compression does not improve much (besides it does changed some margin that I noticed, and did not wanted).
My conclusion: packing all CSS in one file and removing comments and newlines is quite enough.
Something I did not know, but when I found it on this post, then I just realized that is include somewhere in PHP manual, so I quote from original manual entry.
“If called from the global scope, then execution of the current script file is ended. If the current script file was include()-ed or require()-ed, then control is passed back to the calling file. Furthermore, if the current script file was include()-ed, then the value given to return() will be returned as the value of the include() call. If return() is called from within the main script file, then script execution ends.”