Msg#: 4451533 posted 9:08 pm on May 9, 2012 (gmt 0)
Having some doubts about my caching method per my htaccess file I made up some time ago.
Should I be adding 'access plus blah blah' to the cache-control statements as well? My goal was to have both expires and cache-control as recommended by many (a backup if you will).
Am I also correct that if I make a change to a page the last-modifed check will be skipped UNTIL the set time passes and the cached content is considered stale... after this time it will show the new content?
I'm also assuming that 'access plus...' is the first access to the file... so if I set expires to access plus 10 days the visitor could go to the page as many times as he wants but 10 days from his original visit it would check for new content and changes correct?
Sorry for the newb'ish question, but don't deal all too much with this kind of stuff.
Msg#: 4451533 posted 11:22 pm on May 9, 2012 (gmt 0)
For starters: Get rid of the "IfModule" envelope. Not its contents, just the envelope. Replace it with blank lines so you can see what you're doing. Same for all "IfModule" constructions. You either have the module or you don't. (If you don't know, and your host won't tell you, there's a simple test you can run.)
Msg#: 4451533 posted 1:54 am on May 10, 2012 (gmt 0)
You either have the module or you don't.
No kidding lol. I prefer to keep it this way as its just how I like to write code.
As for the questions... I'm pretty sure I found my own answer as I brushed myself up this afternoon. Everything appears to be intact correctly... and I am still using expires and have it turned on (double checked the server settings to be sure).