Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache control #90

Open
GoogleCodeExporter opened this issue Jan 8, 2016 · 0 comments
Open

Cache control #90

GoogleCodeExporter opened this issue Jan 8, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Link to forum doesn't work no contacts section either so i ask here

i'm trying Doo framework but it's near to impossible to develop because once 
browser receive responce it will never request page again so i need to add some 
random query params to be sure that it is current copy. 
Now i have added following to my index.php

Doo::app()->setRawHeader('Expires: Sat, 26 Jul 1997 05:00:00 GMT');
Doo::app()->setRawHeader('Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' 
GMT' );
Doo::app()->setRawHeader('Cache-Control: no-store, no-cache, must-revalidate' );
Doo::app()->setRawHeader('Cache-Control: post-check=0, pre-check=0', false );
Doo::app()->setRawHeader('Pragma: no-cache' );

is i doing it wrong and missing something? I hope so.

Original issue reported on code.google.com by th-net@ya.ru on 30 Oct 2013 at 3:15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant