Jump to content
php.lv forumi

header('Cache-control: private');


renathy

Recommended Posts

Tas ir paskaidrots vairāk vai mazāk veiksmīgi šeit (īpaši komentāros):

http://lv.php.net/manual/en/function.sessi...che-limiter.php

Sīkāku info vari dabūt te:

http://www.mnot.net/cache_docs/

http://www.htaccesselite.com/cache-control...aders-vt65.html

private

Indicates that all or part of the response message is intended for a single user and MUST NOT be cached by a shared cache. This allows an origin server to state that the specified parts of the

response are intended for only one user and are not a valid response for requests by other users. A private (non-shared) cache MAY cache the response.

Faktiski tas ir paziņojums 1) Ka klients šo visu drīkst kešot; 2) Ka pa vidu esošam proxy šo visu kešot nav jēgas, jo tas attiecas tikai uz konkrēto lietotāju/sesiju

Pārlūki mēdz to interpretēt kā - "šo kešu var dzēst ārā, kad pārlūks tiek aizvērts".

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...