Page 1 of 1

Cache control

Posted: Sat Oct 22, 2005 11:56 am
by Todd_Z
I'm creating 100% css layouts [no tables whatsoever] and the whole point is a.) its prettier and b.) smaller file sizes - lower bandwidth. So, since the css page is static and probably will be static for months at a time, i was wondering how to send the highest possible cache values so that the css file is hardly downloaded at all.

Posted: Sat Oct 22, 2005 3:25 pm
by feyd
set the expires header on it to farther out.. but not too far out.. :) maybe a week..

Posted: Sun Oct 23, 2005 5:46 am
by AGISB
I am pretty sure that apache at least handles it like this anyway and the browser caches the css file.