[theme-reviewers] Best practice CSS options

Chip Bennett chip at chipbennett.net
Sat May 7 17:13:10 UTC 2011


It's still better, even from a performance perspective, to output it
directly in the document head.

(And most of the file-operation methods used to do such file-writing require
PHP functions that are prohibited in repository-hosted Themes.)

Chip

On Sat, May 7, 2011 at 11:32 AM, Tony Crockford <tonyc at boldfish.co.uk>wrote:

> On 7 May 2011, at 17:10, Otto wrote:
> > Writing a file is noticeably worse in performance than simply writing
> > them to the header, as in wp_head.
>
> I meant writing it once and linking to it, so it could be cached by the
> browser.
>
> and then overwriting it if the admin changed the values.
>
> Thus eliminating any database requests to find the css values, if you see
> what I mean.
> _______________________________________________
> theme-reviewers mailing list
> theme-reviewers at lists.wordpress.org
> http://lists.wordpress.org/mailman/listinfo/theme-reviewers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wordpress.org/pipermail/theme-reviewers/attachments/20110507/2b88e647/attachment.htm>


More information about the theme-reviewers mailing list