• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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