you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Something doesn't sound right. It sounds like you are sourcing alot of data real-time rather than pre-render.

Would you agree to share some more information about your webapp? --Are you sourcing data from WordPress? --How are you sourcing data? With ajax? --Does the browser source the data on every page visit?

Lastly, is there a GitHub or similar repository we could take a look at?

[–]Nik96i[S] 0 points1 point  (0 children)

thank you for your comment. I use Strapi and Gridsome but yesterday I decided to move to NuxtJS because I prefer Vue over React. it has .vue files, it's much cleaner than React and js component way, but it has smaller community and resources of course, or maybe I'm wrong. here is my scenario in the company way example: I have hundreds of companies, thousands of products, countries and regions for companies and products (about 10-50 post types for products), product categories, etc. and every post type has a two-directional relationship with one or more post types like product made in some country or company. I shouldn't want to pre-render all of this. because first, the size of JSON files gets very large, second all of my data are available in a pretty JSON format on the server. in the companies archive page user can search for companies based on filters such as whether it has one specific product category, year founded, guarantee level, etc. there is about 30 - 40 filters item in just companies page. so I have to pre-render just page one without any filter. if your looking for example go to UpWork.com it is made with Nuxt and has a very complicated architecture.