Z
Z
Zubastik_12018-03-29 11:28:42
PHP
Zubastik_1, 2018-03-29 11:28:42

Can you help me figure out the issue of data caching?

The page takes a long time to load. The reason is that I request a huge amount of data from the database and then process it with a php function.
Where do I begin? I started to study HTTP caching, I can’t figure out how it works. Is the browser caching the page? But for me, as the page was loaded for 8 seconds, it is also loaded after enabling http caching. What am I doing wrong? Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
maddog670, 2018-03-29
@Zubastik_1

Memcache you need either redis or regular file caching.
https://habrahabr.ru/company/zerotech/blog/316316/
https://daruse.ru/keshirovanie-dannyix-stranicz-v-php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question