8000 SI: Cache the Store Settings by ID and GUID · Issue #389 · HotcakesCommerce/hotcakes-commerce-core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
SI: Cache the Store Settings by ID and GUID #389
Closed
@mtrutledge

Description

@mtrutledge

Is your feature request related to a problem?

On almost every query that Hotcakes makes it needs to find the store id from the portal. Since this information is fairly static once a store is setup this is a good candidate to cache the data.

Describe the solution you'd like

When querying the store settings we should first check the cache. If the item is not in the cache, run the database query and add the results to the cache. Otherwise, return the value in the Cache.

Additional context

Querying the store settings is quick but there are many calls. This can reduce load on the database server.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0