[wp-hackers] HTTP headers prevent page from being cached by thebrowser...

WordPress at thunderbyrd.net wordpress at thunderbyrd.net
Wed Jun 30 21:45:22 UTC 2004


This doesn't happen in IE I don't think.

.rob.

-----Original Message-----
From: hackers-bounces at wordpress.org [mailto:hackers-bounces at wordpress.org]On
Behalf Of Rich Manalang
Sent: Wednesday, June 30, 2004 5:41 PM
To: hackers at wordpress.org
Subject: [wp-hackers] HTTP headers prevent page from being cached by
thebrowser...

One of the things I've noticed about WP powered sites is that when
you're halfway down a page, then click on a link to go to another page
or site, then use the "back" button to go to the previous page you were
on, you're always taken to the top of the page you were on before?  This
is probably because the HTTP headers sent down to the browser by WP
tells the browser never to cache the page and always retrieve a fresh copy.

I'm not sure how this could be fixed or if we should be sending expire
headers or etags that more accurately reflect when a page has changed
(or if it's even possible to do that), but it would be nice to always
take the user back to the same place on a page when they click on the
browser's back button.

Anyone have any ideas?

Rich
http://manalang.com/archives/category/wordpress/

_______________________________________________
hackers mailing list
hackers at wordpress.org
http://wordpress.org/mailman/listinfo/hackers_wordpress.org




More information about the hackers mailing list