• 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

Malformed MIME header error in Symfony 5.3

How to use functions that are declared in snippets in Evolution CMS (Modx) in an external PHP Script?

How to keep value of selected value after form submission?

Only on Firefox "Loading failed for the <script> with source"

Search for array row with specific column value and return another value from qualifying row

PHP mail function is sending blank message body

OAuth2 Token PHP

Laravel php artisan serve to mimic HTTPS

How to implement placeholder in a php file for moodle plugin?

Send Outlook 2010 email using PHP

Transfer data between JavaScript and PHP through JSON

How to properly set "0000-00-00 00:00:00" as a DateTime in PHP

Form Validation and Submission to database

Hide email address with stars (*)

Match csv filenames to table names and import

About Contact Privacy policy Terms and conditions