addis_a
October 26, 2014, 10:17am
1
How to cache phpsessid?
Please, prompt me how to cache pages with phpsessid? Website set many
different cookies. I can manage the page cache by them. However site
send
phpsessid for all user, even for user who not signed in.
I would like cache page even they has phpsessid.
Thanks.
Posted at Nginx Forum:
How to cache phpsessid? Please, prompt me how to cache pages with phpsessid? Website set many different cookies. I can manage the page cache by them. However site send phpsessid for all user, even for user who not signed in. I would like cache page...
Hi,
Did you want to centralize your session? Or what? IMHO, nginx didn’t
have
capability to cache the session. CMIIW
If you want to centralize your session, store them into database.
Thank you for answer.
I.e. Nginx cannot store to cache a page with phpsessid cookie?
If it is truth, then I need ping programmers.
Posted at Nginx Forum:
How to cache phpsessid? Please, prompt me how to cache pages with phpsessid? Website set many different cookies. I can manage the page cache by them. However site send phpsessid for all user, even for user who not signed in. I would like cache page...
I mean like cookie:PHPSESSID=ove0lb88riehifbbvl58s3gbv0
If this cookie is present all pages is not cached.
I know how to do not cache, but I need cache
Posted at Nginx Forum:
How to cache phpsessid? Please, prompt me how to cache pages with phpsessid? Website set many different cookies. I can manage the page cache by them. However site send phpsessid for all user, even for user who not signed in. I would like cache page...
Am 26.10.2014 10:51 schrieb photographer:
Thank you for answer.
I.e. Nginx cannot store to cache a page with phpsessid cookie?
What caching means? If you talk about proxy_cache; you might want to
check:
http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_key
Setting that for something like location /images without $args would
cache that
path even with a phpsession-id as argument
HTH