How do you implemented etags inside a PHP file? What do I upload to the server and what do I insert into my PHP file?
相关问题
- Views base64 encoded blob in HTML with PHP
- Laravel Option Select - Default Issue
- PHP Recursively File Folder Scan Sorted by Modific
- Can php detect if javascript is on or not?
- Using similar_text and strpos together
Create / edit your .htaccess file and add the following:
Either place the following inside a function or put it at the top of the PHP file that you need etags to work on: