-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Superfluous query on HEAD request in serializer #20002
Labels
Milestone
Comments
Indeed. Do you have a time to prepare PR fixing this maybe? |
I will try |
bizley
added a commit
that referenced
this issue
Oct 20, 2023
…on_HEAD_request_in_serializer fix: #20002 optimize head request on serializeDataProvider
xicond
pushed a commit
to xicond/yii2
that referenced
this issue
Oct 26, 2023
terabytesoftw
added a commit
to terabytesoftw/yii2
that referenced
this issue
Jul 10, 2024
…ider" This reverts commit 3014fa2.
terabytesoftw
added a commit
to terabytesoftw/yii2
that referenced
this issue
Jul 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Good day everybody. On Head request, Serializer makes an unnecessary
DataProviderInterface::getModels
request (and it can be some slow, heavy query). To fix it need to move strings 191-196 afterif ($this->request->getIsHead())
condition. ThanksThe text was updated successfully, but these errors were encountered: