Question
Question about "expires"
The excellent YSLOW addon for FF tells me to add "Expires" to
my page
elements.
For example, on a certain page, I am told this -
These components do not have a far future Expires header:
* [HTTP headers] (no expires)
http://66.165.96.238/styles/vc_paragon_test_new.css
*
ParamsHeadersPost
Response Headers
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Fri, 25 Jan 2008 22:43:34 GMT
Content-Type: text/css
Accept-Ranges: bytes
Last-Modified: Fri, 25 Jan 2008 21:39:21 GMT
Etag: "f082fabe9a5fc81:1989"
Content-Length: 5214
Loading...
* [HTTP headers] (no expires) http://66.165.96.238/styles/lightbox.css
*
ParamsHeadersPost
Response Headers
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Fri, 25 Jan 2008 22:43:35 GMT
Content-Type: text/css
Accept-Ranges: bytes
Last-Modified: Fri, 25 Jan 2008 15:11:22 GMT
Etag: "e6b1ad8b645fc81:1989"
Content-Length: 1730
Loading...
* [HTTP headers] (no expires)
http://66.165.96.238/diva/divaPOP/divaPOPgold.css
...snip...
*
ParamsHeadersPost
Response Headers
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Fri, 25 Jan 2008 22:43:37 GMT
Content-Type: application/x-javascript
Accept-Ranges: bytes
Last-Modified: Fri, 25 Jan 2008 15:11:14 GMT
Etag: "caafda86645fc81:1989"
Content-Length: 24649
Loading...
* [HTTP headers] (no expires) http://66.165.96.238/images/port_a1.jpg
So, I know how to set a header and have done that on this page -
<?php
header("Expires: Tue, 01 Dec 2009 16:00:00 GMT");
?>
But I'm pretty sure that's not what I need to do. Is there a resource that
is a bit less pithy than the W3 site?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
elements.
For example, on a certain page, I am told this -
These components do not have a far future Expires header:
* [HTTP headers] (no expires)
http://66.165.96.238/styles/vc_paragon_test_new.css
*
ParamsHeadersPost
Response Headers
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Fri, 25 Jan 2008 22:43:34 GMT
Content-Type: text/css
Accept-Ranges: bytes
Last-Modified: Fri, 25 Jan 2008 21:39:21 GMT
Etag: "f082fabe9a5fc81:1989"
Content-Length: 5214
Loading...
* [HTTP headers] (no expires) http://66.165.96.238/styles/lightbox.css
*
ParamsHeadersPost
Response Headers
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Fri, 25 Jan 2008 22:43:35 GMT
Content-Type: text/css
Accept-Ranges: bytes
Last-Modified: Fri, 25 Jan 2008 15:11:22 GMT
Etag: "e6b1ad8b645fc81:1989"
Content-Length: 1730
Loading...
* [HTTP headers] (no expires)
http://66.165.96.238/diva/divaPOP/divaPOPgold.css
...snip...
*
ParamsHeadersPost
Response Headers
Server: Microsoft-IIS/5.0
X-Powered-By: ASP.NET
Date: Fri, 25 Jan 2008 22:43:37 GMT
Content-Type: application/x-javascript
Accept-Ranges: bytes
Last-Modified: Fri, 25 Jan 2008 15:11:14 GMT
Etag: "caafda86645fc81:1989"
Content-Length: 24649
Loading...
* [HTTP headers] (no expires) http://66.165.96.238/images/port_a1.jpg
So, I know how to set a header and have done that on this page -
<?php
header("Expires: Tue, 01 Dec 2009 16:00:00 GMT");
?>
But I'm pretty sure that's not what I need to do. Is there a resource that
is a bit less pithy than the W3 site?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================
