How can I set Cache TTL for woff and woff2 font files with htaccess?

ExpiresByType font/woff2 “access plus 1 year” ExpiresByType application/font-woff2 “access plus 1 year” ExpiresByType application/x-font-woff2 “access plus 1 year” You need to set ExpiresActive On (at the top) for these directives to have any effect. You also don’t need all 3 of these directives. You should check the Content-Type HTTP response header for the mime-type your … Read more

Plug-in Conflict: Art Direction and Super Cache

I believe the only way to currently get around this is to not directly use Art Direction but replicate that functionality yourself. There are a few pages that talk you through doing that: http://digwp.com/2010/02/custom-css-per-post/ http://wordpress.org/support/topic/plugin-art-direction-conflict-with-wp-super-cache Hope that helps!

Is the object cached?

If you use the WordPress API to retrieve the metadata, then it should be cached for you. If you do other complex stuff, there is the Transients API for caching data yourself, which will take advantage of whatever object cache you use with WordPress. EDIT – I should clarify, it’ll be loaded for each request … Read more

Mixing Tweets with Posts

I’ve done this with Twitter Tools. Basically it hooks up the blog to a Twitter feed, and for each new tweet creates a blog post. You can put twitter posts in a separate category (or add tags), and use that to style twitter-posts differently from regular posts, hide the comments field, whatever. Hope this helps … Read more

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