• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

How to override htaccees file for cache control header

phpapache.htaccesscodeigniterbrowser-cache


PHP Snippet 1:

    Header append Cache-Control ""
    Header edit Cache-Control "^$" "private, no-store, no-cache, must-revalidate, max-age=0"
    Header append Pragma ""
    Header edit Pragma "^$" "no-cache"

Related Snippets

SQL to convert multiple rows into a single row of variable length

How to make a foreign key not using primary key

How to reset Laravel AuthManager/guards in between API calls in tests?

How do I call Validator from a namespace with an already existing Validator class

Yii2: How to download backup files using spanjeta/yii2-backup?

Modify microseconds of a PHP DateTime object

Is there a way to correctly use sanitize_text_field and wp_unslash that doesn't cause psalm to error with "expects string, possibly different type"

Add New Parameter to Existing URL using htaccess

How to change the app environment at run time?

Getting error: CodeIgniterDatabaseBaseResult::getResult in CodeIgniter

generate an Excel file using PHP

Get Header Authorization value of a login api (sent with username and password in json body) using php curl

Dropdown with current value from Mysql

image source not readable

Limit login attempts in Laravel 5.7

About Contact Privacy policy Terms and conditions