Browsing articles tagged with "combine Archives - PHP Dev Tips"
Oct
13
2011
13
2011
Using PHP to merge and minify CSS and Javascript
And yet another ‘bangin’ update! Don’t use this (I’m going to leave it here for reference), use the magicmin javascript and css minification/caching class instead for performance, better javascript minification, caching, gzip, base64_encoded images, and more! One MAJOR factor in the usability of your website is site load time. This is affected by a number of factors: the number of images, database queries, and the number of server requests to fetch your stylesheets and javascript […]
Recent Snippets
- htaccess : Only allow access to specific wordpress upload types if logged in
- MySQL : Query WordPress Database for Invalid Media Filenames
- PHP : Get Actual IP Address with PHP
- JavaScript : Allow Tab in Textarea
- PHP : Clean sanitized database contents on output
- htaccess : Force www. prefix in URIs
- PHP : Force File Download with Correct Content Type
- Wordpress : Disable upgrade notification