F
F
fregire2018-02-10 22:03:52
PHP
fregire, 2018-02-10 22:03:52

How do cookies help in website optimization?

I saw somewhere that cookies are used for good site performance when you visit again (let's say images). How to put it into practice?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2018-02-10
@fregire

Cookies are not used for images. To do this, caching through server headers is used. Cookies - they are used only to store intermediate data: session IDs, interface settings, tracking visits, etc.
Cookies and LocalStorage - do not help in any way in website optimization.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question