SMF Support > SMF 2.0.x Support
SSI.php function does not update automatically?
đukela:
I have recent topics function on a portal that my forum is part of. The portal consists of 5 pages + forum. The function is in a header template that repeats on all pages.
Now, when a new topic is added on the forum, the recent topic function is updated only on the index page of the portal. On other 4 pages I have to refresh manually in order to see the changes.
Why only index page updates the change when they share same template? Does server treat differently index page from all other regarding caching? Can I configure this somehow to have all the pages behave like the index page does?
I turned off htaccess caching, but it did not help.
I appreciate any suggestion
system: SMF 2.02, no mods
đukela:
bump...
Maybe it's too complicated...
Arantor:
More accurately the portal is uncached, SSI is cached. The cache is only a few minutes long, you can just leave it alone and it will work.
đukela:
Hm, things are weird.
I said in my previous post
--- Quote from: vucibatina on June 02, 2012, 01:18:53 PM ---
I turned off htaccess caching, but it did not help.
--- End quote ---
but actually it does do the work. SSI updates properly on all pages then. But only if I refresh a page after I changed htaccess file. Like htaccess itself is cached somewhere.
So, there is option not to cache php files and get desired effect.
But still remains question how to achieve proper SSI update and php files caching at the same time on all pages?
And why does it work only on index.php?
@Arantor, if I leave it, it does not update even after 6 hours (still counting the time).
Arantor:
*shrug* I got nothing, sorry.
Navigation
[0] Message Index
[#] Next page
Go to full version