Skip to content

Read dynamic menu values/file paths from cache instead of database #182

Description

@Ramin-RX7

In each page load, everything that is dynamic in the templates will be read from database. This behavior can be changed with having their values not only in database but also in cache. Each time we override the previous data in the database, we will save them in the cache memory too.

And in context processor, instead of reading from database we will read from cache.

This provides better performance while having a UI (Django admin panel) to change the data.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions