• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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