H
H
HappyCougar2015-10-23 01:50:36
PHP
HappyCougar, 2015-10-23 01:50:36

Where is the best place to store frequently accessed data?

There is a nested array containing a list of statuses and settings for them, it is generated from the database. This list is used on almost all pages, I'm thinking of writing it to the session and using it from there? Does this method have negative sides, and are there other ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rikcon, 2015-10-23
@Rikcon

put it in redis or memcached, that's what they are designed for.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question