• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • 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.

Input Static compression borked by default

Sean-weblite

New Pleskian
Just a performance FYI for Windows Plesk users.

In the course of troubleshooting something else I discovered that static compression would always fail with:

STATIC_COMPRESSION_NOT_SUCCESS Reason="UNKNOWN_ERROR" (from a failed request trace)

This turns out to be due to a failure to access the iis temporary compressed files folder (by default systemdrive\inetpub\temp\iis temporary compressed files).

This will still fail even if you give open permissions to that folder because IIS tries to do a GetVolumeInformation on the root of the drive, but Plesk's ACL hardening is denying this.

Resolve by changing the httpCompression/directory to a drive where you can give Users read/execute on the root and IISUSRS full control on the temp files directory. IIS manages permissions on the subdirectories to restrict access to the apppool identity.

The static files are still getting compressed via dynamic compression, but it's extra work for the server and less effective compression (by default).

The benefits of fixing this will vary by use case, but on this server I'll be serving about 1GB of pre-compressed, cached static files via the static file handler every few days.

(Discovered due to investigating some bots downloading zxcvbn.min.js many times (500k with dynamic compression!). Now only 390k and served from the compressed cache :)
 
Thank you for your input!
I see that you are new member of our community and I would like to inform you about our Article system https://talk.plesk.com/articles/
I think that you could publish your valuable experience as an excellent article there.
 
Back
Top