Am Montag, 26. März 2012 10:18:58 UTC+2 schrieb LiJunLe:
debug what's in $_SESSION array? Is $_SESSION['Auth'] still there?
The funny thing is - the debugger does not kick in - as if the whole page was served from the browser cache instead of being requested.
I'm using Apache and currently I have the following cache related settings in the .htaccess file at / :
ExpiresActive on
ExpiresDefault "access plus 10 minutes"
ExpiresByType image/gif "access plus 2 days"
ExpiresByType image/bmp "access plus 2 days"
I have now added the following to the .htaccess in /cakephp:
ExpiresDefault "now"
Which seems to have cured the symptom - most likely I will have to add more exceptions for files like css and images on the production server
Thomas
-- I'm using Apache and currently I have the following cache related settings in the .htaccess file at / :
ExpiresActive on
ExpiresDefault "access plus 10 minutes"
ExpiresByType image/gif "access plus 2 days"
ExpiresByType image/bmp "access plus 2 days"
I have now added the following to the .htaccess in /cakephp:
ExpiresDefault "now"
Which seems to have cured the symptom - most likely I will have to add more exceptions for files like css and images on the production server
Thomas
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment