• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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