-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Horrible performance on Draft files. #67
Comments
HI @theTigerDuck can you test this PR and see if you get better performance? #70 |
Hi @wilr, thanks for the grat work. Unfortunately I hadn't time to test this. Now that it's merged I installed it and there are still some issues. First of all PublicCDNAdapter does not get used. Instead of:
I had to change it to:
Whenever I puplish a file. It gives me "File could not be found.". Physically it's there in the public folder. But in the AssetAdmin it's not until I call ?flush=all manually. Because of privious performance issius I had a file extension, that autopublishes everything on upload. Do you have any suggestions? |
Even using jgivoni\Flysystem\Cache\CacheAdapter for every draft file gets at least 20 times called "doesObjectExistV2" plus more for its variants. I got rid of the Hashfolder by doing this:
otherwise it's even more calls of "doesObjectExistV2" because it fist looks for the file without the hash.
The text was updated successfully, but these errors were encountered: