If your cache layer is APC, and your cached file is PHP (e.g.
load.php?querystring), then you can configure APC to always check for a
revised file in the backend (opcache.validate_timestamps=1 in php.ini) --
this may solve the issue if it wasn't set previously. Also, you can write
your own minimal php script that calls opcache_invalidate($file, true). [1]
Of course this won't help if you're not using the PHP Opcache [2]
[1]
https://tideways.com/profiler/blog/fine-tune-your-opcache-configuration-to-…
[2]
https://www.php.net/manual/en/book.opcache.php
Greg Rundlett
https://eQuality-Tech.com
https://freephile.org
On Thu, Feb 13, 2020 at 8:27 AM Máté Szabó <mszabo(a)wikia-inc.com> wrote:
Hey Roan,
Thank you for your response!
I did stumble upon ContentOverrideCallback. Unfortunately, it doesn’t seem
to be an exact fit for this use case.
I think I will opt for manual URL purges to ensure timely updates in this
scenario
Cheers,
Máté Szabó
SOFTWARE ENGINEER
Fandom Poland sp. z o.o. z siedzibą w Poznaniu, ul. Abp. A. Baraniaka 6
Sąd Rejonowy Poznań – Nowe Miasto i Wilda w Poznaniu, VIII Wydział
Gospodarczy Krajowego Rejestru Sądowego, KRS 0000254365
NIP: 5252358778
Kapitał zakładowy: 50.000,00 złotych
_______________________________________________
Wikitech-l mailing list
Wikitech-l(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l