

This may give us some clues about how session_cache_limiter() function works.Ībout caching, the perfect solution I think is to give the correct expiration date and time and also the right last-modified header for each element in the web site, when they are really updated. One thing I notice is that in session_cache_limiter() it is "nocache", but in header() it is "no-cache".
#Scriptcase button manual#
I didn't find these combinations like "private, must-revalidate" documented in the manual and I guess that something different from "none, nocache, private, public and private_no_expire" are resolved to "none" or something like that. The content must be fresh after each click. The page only updates when I used the browser's refresh button. When I try something like session_cache_limiter("nocache, must-revalidate") it doesn't work. The combination above works fine with IE 6.x. I try some combinations using header("Cache-Control: no-cache, must-revalidate"), but when clicking the back button, the last changes in the form back to their previous states. If you have a dinamic website and want to allow your visitors to use the back button after they sent a form with the post method, the best combination I found was: You can find more information about to control the cache in PHP at Requisição (e antes que session_start() seja chamada). O limitador do cache é redefinido para o valor padrão guardado em OĬabeçalho Expire nunca é enviado para o cliente nesse modo.ĭefinindo o limitador do cache como '' desativará completamente o envio automático Você pode evitar este problema usando o modo private_no_expire. Pode provocar confusão em alguns browsers, incluindo o Mozilla. No modo private, o cabeçalho Expire enviado para o cliente

Mas permite que o cliente armazene o conteúdo em cache. Um valor como public permitiria o cache do proxy e doĬliente, e private rejeitaria o cache do proxy

Definindo o limitador doĬache para nocache rejeitaria qualquer cache do cliente/proxy. Pode ser guardado em cache pelo cliente e proxy intermediário.

Estes headers determinam as regras pelas quais o conteúdo da página O limitador do cache controla quais HTTP headers de controle de cache são enviados para Session_cache_limiter() retorna o nome do atual Session_cache_limiter( string $cache_limiter = ?): string
#Scriptcase button archive#
Getting Started Introduction A simple tutorial Language Reference Basic syntax Types Variables Constants Expressions Operators Control Structures Functions Classes and Objects Namespaces Enumerations Errors Exceptions Fibers Generators Attributes References Explained Predefined Variables Predefined Exceptions Predefined Interfaces and Classes Context options and parameters Supported Protocols and Wrappers Security Introduction General considerations Installed as CGI binary Installed as an Apache module Session Security Filesystem Security Database Security Error Reporting User Submitted Data Hiding PHP Keeping Current Features HTTP authentication with PHP Cookies Sessions Dealing with XForms Handling file uploads Using remote files Connection handling Persistent Database Connections Command line usage Garbage Collection DTrace Dynamic Tracing Function Reference Affecting PHP's Behaviour Audio Formats Manipulation Authentication Services Command Line Specific Extensions Compression and Archive Extensions Cryptography Extensions Database Extensions Date and Time Related Extensions File System Related Extensions Human Language and Character Encoding Support Image Processing and Generation Mail Related Extensions Mathematical Extensions Non-Text MIME Output Process Control Extensions Other Basic Extensions Other Services Search Engine Extensions Server Specific Extensions Session Extensions Text Processing Variable and Type Related Extensions Web Services Windows Only Extensions XML Manipulation GUI Extensions Keyboard Shortcuts ? This help j Next menu item k Previous menu item g p Previous man page g n Next man page G Scroll to bottom g g Scroll to top g h Goto homepage g s Goto search
