After we started using Automatic Platform Optimization (APO) we noticed that it indeed improves the perfomance/speed of our website. Great! The website was having issues because of a few items on the frontpage like Trustpilot widget slowing it down a lot. That has now improved, we went from a load time of >2.5~3s <1.2~1.4s. That’s a huge improvement.
However we did noticed there’s an influence on some other stuff that is not that cool. For example, on the same domain we host ninja-invoice (in a folder like domain.com/ninjainvoice) and another application we wrote ourselves.
After activating Automatic Platform Optimization we, after some time, could no longer login to these programs unless we bypassed it using a different domain also pointing to the same website or clearing the cache at Cloudflare.
I can understand how this was caused. APO, at the moment, doesn’t “see” that /ninjainvoice/* doesn’t belong to the wordpress installation. It just caches everyting on a domain.
So we exluded it using the pagerules. Hopefully that will work well. However, this should be adressed I think - perhaps in the instructions somewhere or, if possible, in the APO itself. Since if people can’t discover what is going on, they will stop using it. And that would be a shame. Since it’s a great performance booster for sure!
Thank you for your Post.
I will just tag @yevgen here to let him know.
But about the way you have implemented ninjainvoice:
I never go with “subdirectory” installations. I always set up different application on different subdomains like:
invoice.domain.tld
Then you can differenciate and use different settings (on DNS and Server level) more easy also this then would not conflict with APO.
But I can understand you wanting to be able to exclude directories from APO.
Feedback if your solution with PageRules works would be appreciated
Normally it would be the best to use a subdomain, agree. Normally I use a different account/domain for this. However we’re having some issues with legacy software and stuff like that and well, … before you know you choose the easy way out eh?
I’d suggest putting it somewhere in the installation instructions. Would be sufficient as a ‘work-around’. But perhaps most people won’t even notice it since they probably won’t run more applications.