Skip to content
This repository was archived by the owner on Mar 23, 2021. It is now read-only.
This repository was archived by the owner on Mar 23, 2021. It is now read-only.

More efficient way to handle post objects in vuex #64

@johndigital

Description

@johndigital

Currently, we dump the entire contents of Rest Easy into the vuex store and then work off of that. In certain situations, such as the one outlined in issue funkhaus/Rest-Easy#16 the vast majority of that data could potentially be redundant.

In these situations the best solution is to find a cleaner way to output all that data at the server level. If vuepress does end up getting a large rest-easy payload however, we should put extra logic in place to reduce redundancy. The stress put on the front end can be considerable, because vue is attempting to be reactive to every single object even though most of them will never change.

Basically, it's important to keep the total number of serialized posts we store in vuex low.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions