Re: Re: php and CSS level 2
| From: | Michal Migurski | Date: | Mon, 22 Mar 2004 01:08:59 +0000 |
| Subject: | Re: Re: php and CSS level 2 | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-181107@lists.php.net to get a copy of this message | ||
>RD> I do wonder if either of the above methods would force the RD>
>browser to never cache the CSS file locally
>
>You know, I didn't think about that, as I've never personally used this
>method. I've never had a need. Thinking about it now, I would also
>think that you may need to send a content-type header of "text/css" to
>the browser, as well, though I'm not positive on this.
Gecko/Moz based browsers will ignore a stylesheet that lacks the
appropriate Content-Type header, so definitely make sure it's there.
Regarding the caching, I think just setting up the appropriate
cache-control headers should make it indistinguishable from a regular,
static CSS file.
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html