118 reputation
14
bio website aaronmoodie.com
location Melbourne, Australia
age
visits member for 3 years, 11 months
seen Jan 28 at 5:32
stats profile views 24

May
23
awarded  Notable Question
May
28
awarded  Popular Question
Oct
5
awarded  Tumbleweed
May
31
awarded  Scholar
May
31
accepted Apache caching with mod_headers mod_expires
May
31
comment Apache caching with mod_headers mod_expires
Ah right. Thanks Dave. I was close! I had set the ExpiresActive On, so things were working. What's the difference between using ExpiresDefault like I had in the FilesMatch and ExpiresByType as a separate line like you have? I didn't do that originally as it seemed like I was repeating myself
May
30
comment Apache caching with mod_headers mod_expires
OK, so my first example works, as does ExpiresByType, though with ExpiresByType i'm not sure how to add whether the file type is public or private.
May
30
comment Apache caching with mod_headers mod_expires
hmm, no. My text/html seems to have expired 15 days ago ... so if i use ExpiresByType, say, like this: ExpiresByType text/html "access plus 5 days" can I just add in public or private at the end? ExpiresByType text/html "access plus 5 days, public" and how then do I set the header to Cache-Control? or does that happen automatically by setting ExpiresActive to on ?
May
30
awarded  Student
May
30
asked Apache caching with mod_headers mod_expires