Not logged in. · Lost password · Register
Forum: General Help and Support Development RSS
Referrer touching in editor
Avatar
Dr-Yukon #1
User title: Rainbow_Spike
Member since Jun 2012 · 36 posts · Location: Russia, Primorsky Kray
Group memberships: Members
Show profile · Link to this post
Subject: Referrer touching in editor
I have a specifical problem with my big site for comics translation (70,000+ articles, yeah). I want to use the server's cache, but the site doesn't update links immediately from red to green after I make a new page. Only when I set "cachetime" to -1 (off mode) its all okay.

[Image: http://screenshot.ru/e132872c79daea67d10f12e11279dd9c.png]

Here is our navi with a color marking of next page accessibility when the server's "cachetime" set to 0. [[0646]] already exists and must be colored in green.

After some brainstorming, I decided to attach local touching of the referrer page's cache to the editor's Save button. It is assumed that the navi's red link is already equipped with the ?do=edit parameter for direct editor calling and I'll not have to catch the referrer's referrer.

But I don't know PHP at the proper level to attach the desired request to the Save button. Only know
$var = getenv("HTTP_REFERER");
from Touch Plugin and this purge function from Wikistats plugin
https://comicslate.org
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-02-21, 11:38:50 (UTC +01:00)