Azu Posted April 5, 2007 Share Posted April 5, 2007 So ya, it shouldn't need to be downloaded more then once until I'm already dead. But instead, it downloads the WHOLE ENTIRE CSS FILE EVERY SINGLE TIME ANY PAGE IS OPENED! Please tell me why it's doing this and how I can fix this, it really sucks =( header('Cache-Control:public;'); header('Expires:Mon, 26 Jul 2097 05:00:00 GMT;'); Doesn't work at all! T_T Quote Link to comment https://forums.phpfreaks.com/topic/45787-only-download-once/ Share on other sites More sharing options...
AndyB Posted April 5, 2007 Share Posted April 5, 2007 Makes no sense based on the info you provided. Without either of those headers, the .css file should have cached. Quote Link to comment https://forums.phpfreaks.com/topic/45787-only-download-once/#findComment-222598 Share on other sites More sharing options...
Azu Posted April 7, 2007 Author Share Posted April 7, 2007 The only differance when I'm not using them is that when I click page info it says "Expires: no specified" Either way it doesn't cache it Please tell me how to fix this.. Quote Link to comment https://forums.phpfreaks.com/topic/45787-only-download-once/#findComment-223399 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.