• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Static PHP Files

GigaBlast

New Pleskian
Hi, i have a slight performance problem i need to address. Any solutions please?

In .htaccess the expires header sets the expires to 1 second for all php files.
I have two php files which doesn't change very often, so the expires could be weekly, but there is no way to change the expires time. If i add another cache control header to the header it gets overwritten by .htaccess or other methods end up having two lots of cache headers.

so i tried creating a new file extenion type and handler in php and renaming the static php file static.sphp but couldnt get it work in plesk after spending a which tinkering.

What else can i do to server a static file?
Here you can see the problem when hovering over the stars, the ratingsystem.php and retailer.php static files get called by jquery code.
 
Back
Top