Cache

2 views
Skip to first unread message

Craig Boxall

unread,
Apr 27, 2008, 7:08:41 PM4/27/08
to SilverstripeDevList email subscribers
Hi there,

when:

Director::set_environment_type('live');

It sets this in the headers:

Cache-Control: max-age=86400, must-revalidate

Can this be manually set in the config file to 

Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0

Like it does when set_environment_type() is set to 'dev'?

Cheers
Craig

---------------------------------------------------
Craig Boxall
Director

[m] 021 564 522
[p] 09 377 4568



Reply all
Reply to author
Forward
0 new messages