<div dir="ltr">I'll try that, thank you! <br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Di., 14. Feb. 2023 um 13:41 Uhr schrieb Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="font-size:10pt;font-family:Arial,Helvetica,sans-serif">
<div id="m_-4414970924710715483signature">I looked at your website, and it appears you only include URLs from the same server (some of them return HTML listings, others <iframes> to external pages).<br><br>If the server or the PHP process has some cache that we cannot see and control, you can try adding a random parameter <span style="font-family:"andale mono",monospace">t</span>o the URL request:<br>
<pre><span style="font-family:"andale mono",monospace"> $m[1] .= "?".mt_rand(); # new line<br> return Keep(...); # existing line<br><br></span></pre>
This should make it look like a different request and prevent reloading the previous result from the cache.<br><br>Petko<br><br>On 14/02/2023 12:00, Gregor Klarič wrote:</div>
<blockquote type="cite" style="padding:0px 0.4em;border-left:2px solid rgb(16,16,255);margin:0px">
<div id="m_-4414970924710715483replybody1">
<div dir="ltr"> > Which IncludeUrl function do you use?<br>The one written on the page.</div>
<br>
<div>
<div dir="ltr">Am Di., 14. Feb. 2023 um 11:55 Uhr schrieb Petko Yotov <<a href="mailto:5ko@5ko.fr" rel="noreferrer" target="_blank">5ko@5ko.fr</a>>:</div>
<blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Which IncludeUrl function do you use? The one written on the page, or <br>the attached file?<br><br>I don't see anything in the 2 functions that would cache the remote <br>content.<br><br>I'd check the remote server headers, or maybe a proxy cache that may <br>retain an older version of the resource for some time.<br><br>Petko<br><br><br>On 13/02/2023 08:39, Gregor Klarič wrote:<br>> I am using this recipe to include the content of some other pages:<br>> <br>> <a href="https://www.pmwiki.org/wiki/Cookbook/IncludeUrl" rel="noopener noreferrer" target="_blank">https://www.pmwiki.org/wiki/Cookbook/IncludeUrl</a><br>> <br>> I noticed that there seems to be a cache somewhere in the pmwiki and <br>> that even if the included page has changed the wiki page is not <br>> immediately updated, sometimes for an hour.<br>> <br>> It is not cached in the browser, I had made a Crtl+F5 reload in Chrome.<br>> <br>> I tried setting this for the calling page<br>> $EnableIMSCaching = 0;<br>> but without result.<br>> <br>> Any ideas?</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote></div>