vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   after cache using php : forum freezed !! (https://vborg.vbsupport.ru/showthread.php?t=300859)

abdobasha2004 08-05-2013 02:47 PM

after cache using php : forum freezed !!
 
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 [DATE]1375741010[/DATE] at [TIME]1375741010[/TIME] ---------------

thaaaaaaanks lynee and Kevin


All times are GMT. The time now is 02:34 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01012 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete