304 Not Modified issue

前端 未结 3 571
囚心锁ツ
囚心锁ツ 2021-01-07 17:38

Sorry for the probably wrong title. I am writing some code to handle If-Modified-Since and If-None-Match requests as part of caching. Everything works perfect except for tha

3条回答
  •  情深已故
    2021-01-07 18:02

    I found the solution in Answering HTTP_IF_MODIFIED_SINCE and HTTP_IF_NONE_MATCH in PHP

    Create new file caching_headers.php

    
    

    and add this in all php files that you would like to cache:

    
    

提交回复
热议问题