60c07013d4
We were hitting the WCCOM API directly from the front end. However, that limits of in terms of caching and reducing the load on WCCOM. To prevent that, we added a REST API endpoint. This endpoint fetches discover page content from WCCOM and puts in a transient. This is actually how the page works in the previous version. So we were able to reuse a lot of the code. |
||
---|---|---|
.. | ||
assets/images | ||
components | ||
contexts | ||
stylesheets | ||
utils | ||
index.tsx | ||
marketplace.scss |