Avatar

turn-off caching (General)

by Micha ⌂, Wednesday, July 08, 2015, 11:14 (3208 days ago) @ Alfie

Hi Alfie,

Sounds reasonable.

I saw this thread today and installed the Fiddler software to monitor the traffic. If I clicked to the "back to forum index" link, no network traffic was observed. Maybe a php-header can solve the problem. I found various of headers e.g.

header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");

Up to now, I don't understand, how the script is building the links and how to add more parameters. Here, an example:

$subnav_link = array('id' => $id, 'title'=>$link_title, 'name'=>$link_name);

and my suggestion?!?

$param = $id . "&" . "foo=bar";
$subnav_link = array('id' => $param, 'title'=>$link_title, 'name'=>$link_name);

I select a page with a category it is still there, e.g.,
http://mylittleforum.net/forum/index.php?mode=index&category=3&page=4

This means, Alex looks for the $_REQUEST-Array and we only have to add the category (and page) to the index-link?

/Micha

--
applied-geodesy.org - OpenSource Least-Squares Adjustment Software for Geodetic Sciences


Complete thread:

 RSS Feed of thread