Levi
Ultimate Member
According to both yslow (recommendation on firefox plugins
) and googles firebug plugin I need to add an 'expires header'. They are also recommending using gzip on my code to reduce the overheads.
Now I understand the reasoning for the expires header (its to help with caching and for searching via the bots etc but can't quite figure how the dates work.
Is it a system where you need to stick a date in and then update manually so say, if you wanted it to 'expire' in 2 weeks you would stick in a date 2 weeks from current date or is there a way of saying expire in 2 weeks without using set dates?
And as my pages are unlikely to change anyway is the correct meta needed the below?
As to gzip, is it really worth it and is there any recommended best practices etc
TA very
Now I understand the reasoning for the expires header (its to help with caching and for searching via the bots etc but can't quite figure how the dates work.
Is it a system where you need to stick a date in and then update manually so say, if you wanted it to 'expire' in 2 weeks you would stick in a date 2 weeks from current date or is there a way of saying expire in 2 weeks without using set dates?
And as my pages are unlikely to change anyway is the correct meta needed the below?
Code:
<meta http-equiv="expires" content="never">
TA very