kbeelman / TokuCinema

Monster Movie Review Website
2 stars 0 forks source link

Explore Firebase performance improvements #2

Closed kbeelman closed 3 years ago

kbeelman commented 7 years ago

Noticed this warning in the console while working on something else, and thought this might be worth exploring later. Currently, the .indexOf() method for getting Firebase entries only works on the numerical index, but this warning suggests that it is possible to configure custom elements to index by.

FIREBASE WARNING: Using an unspecified index. Consider adding ".indexOn": "Path" at /mediaReviews to your security rules for better performance

kbeelman commented 3 years ago

Fixed this ages ago.