• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue File modification visible in the browser only after ~50 seconds of waiting

Ludo

New Pleskian
Server operating system version
CentOS 7.9.2009
Plesk version and microupdate number
18.0.57 #5
Hi All,

No nginx cache or other cache system !

I have an index.php:
<?php
echo "test0";
exit();

I change it and save (from FTP or FILES in plesk):
<?php
echo "test1";
exit();

The modification is visible after ~50s without any action (just refresh browser). Meanwhile, if I edit this file, the change is visible but not in a browser.

An idea ?


Best regards,
 
Hi,

Yes, opcache for PHP 7.3 was a problem...
opcache is enabled on PHP 8.1 and I don't have this problem


Thanks a lot
 
The problem is only half solved because it doesn't work for an image (opcache off, checked in phpinfo()).

Example, I replace an image named "x.jpg" and in brower i add x.jpg?v=current_time to force reload.
Even when doing ctrl+F5, the image takes a few seconds to change.

Working on PHP 8.1.

An idea ?
 
Back
Top