Minification Plugins break my website

This is normal, minification of CSS/HTML and JS is not a magic button. If you have no plugins and 1 style-sheet and minimal javascript (aka not more than 1 function) it will work, but anything above that and your looking at conflict and load order problems. To properly minify takes work, you have to either … Read more

Page load timer?

$starttime is undefined in your footer, so you’re subtracting nothing from endtime. declare global $starttime first and it’ll work. that said, it won’t be a very accurate indicator of rendering time, since most of the work WordPress does happens before you ever reach the template and start your timer. There’s already a built-in timer that … Read more

Tabbed feeds with ajax vs. without on homepage [closed]

I would go with jQuery UI tabs where the feeds would be hidden because WordPress caches feeds for 12 hours using the Transients API. This would be less expensive than doing an Ajax call for each tab. Use fetch_feed to parse and and cache. The cache times can be filtered using wp_feed_cache_transient_lifetime.

Disable (or limit) queries when certain content (or data) is not needed (or showed)

You can filter ‘posts_fields’, check if it is the main query and limit the queried fields to … whatever you need. See WP_Query::get_posts() in /wp-includes/query.php for details and side effects. For debugging the queries I recommend the plugin Debug Bar. If you add … define( ‘WP_DEBUG’, TRUE ); define( ‘SAVEQUERIES’, TRUE ); … to your … Read more

Which is from this queries is more faster

These queries are the same – the only difference being the syntax. There’ll be no noticeable performance difference. I prefer the first for readability when it is formatted correctly. (Also, the first query doesn’t use the paged argument, so it won’t ‘paginate’ – but I guess that was omitted by mistake).

How do I serve fully cached full HTML on cloudfront

Yes, you can serve HTML through CloudFront as long as you don’t mind every user getting the same content until the cache expires. It completely depends how your caches are being stored. I can’t imagine a CDN that would not support this. They might not advertise it since many web sites are dynamic and can’t … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)