PDA

View Full Version : after cache using php : forum freezed !!


abdobasha2004
08-05-2013, 02:47 PM
I added a plugin with this code to global start :
$cache_expire = 60*60*24*365;
header("Pragma: public");
header("Cache-Control: maxage=".$cache_expire);
header('Expires: '.gmdate('D, d M Y H:i:s', time()+$cache_expire).' GMT');

It was to cache some files but it did not work so I deleted it
since then some pages of my forum seem freezed: time in footer stopped at 4:06 and no new threads added to forumdisplay !!

can anybody help !

Lynne
08-05-2013, 03:30 PM
If you deleted the plugin, then everything should be fine now. Perhaps restart apache?

abdobasha2004
08-05-2013, 04:49 PM
I did, but the problem persist, I noticed also other thing : the global.js and yahoo DOM js are not loaded in the "freezed pages" also some other pages and new pages have these scripts loaded and are normalyl loading and indexed !! this problem I and all members have in all browsers.

example url of freezed pages : http://www.nmisr.com/vb/showthread.php?t=498193
example url of normal loading pages : http://www.nmisr.com/vb/showthread.php?t=493891
please note time difference in footer !!

kh99
08-05-2013, 07:41 PM
The page you had listed as "freezed" seems to have the current time (or at least the minutes were correct - I don't know what time zone you're in). Could it be that those pages are cached in your browser? Try clearing your browser's cache, or try a different browser.

Lynne
08-05-2013, 07:50 PM
Both of those pages opened up just fine for me. My guess is that Kevin is correct and that you didn't do a Force Reload of the page and so you are getting the cached version.

abdobasha2004
08-05-2013, 09:13 PM
mmmmm, that is somehow reassuring, I did a purge of cash in google pagespeed service
I think it solver much of the problem

--------------- Added 1375741010 at 1375741010 ---------------

thaaaaaaanks lynee and Kevin