Google Chrome no-cache and Login throw oauth services

I found this very annoying, it seem chrome optimization make it not works things like “login via facebook” or “login via twitter” button with this browser and make it wait forever.

I implemented oauth support for and had a similar problem: Expires setted to access plus 10 minute (via .htaccess , this happen to set Cache-Control header too) and google do not reload the actual page but use the one in cache. I would suggest to remove Expires header or set it to past data, but I found out adding

header("Pragma: no-cache");

works for me. Overwriting the header Expire with current time also works:


Probably in other browser serving an header Location: make the cache invalid, in chromium this is not true.

Anyway fix your code boys.