Skip to content
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

PLATTA-4951 - prevent multiple file_exists being called for same file during same req #17

Merged
merged 4 commits into from
Jun 21, 2023

Conversation

dragos-dumi-ibm
Copy link
Contributor

Currently, getExternalUrl is called twice for same file during a request, and file_exists takes time to check in blob if is there or not.
When lots of images on same page and having responsive images, can quickly go to 70 * 2 getExternalUrl calls.

@dragos-dumi-ibm dragos-dumi-ibm requested a review from tuutti June 21, 2023 10:49
@tuutti
Copy link
Member

tuutti commented Jun 21, 2023

Did you check why it is called twice per image style? I'm wondering if it's possible to fix the root issue instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants