• 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

unable to load your default controller on Codeigniter

Check if string contains a value in array [duplicate]

Symfony - EasyAdmin - Add and remove functions are ignored from AssociationField

best way to store error messages in Laravel (session or variable)

Add New Parameter to Existing URL using htaccess

Fatal error: Trait 'LaminasDbAdapterLaminasDbAdapterAdapterInterface' not found in /var/www/vendor/laminas/laminas-db/src/Adapter/Adapter.php

how can I set a session variable in Drupal 8 and get it in a php script?

CodeIgniter 3 is generating a session file on each request, why?

auth pages not getting css in laravel

Why does codeigniter & Linux server throws unserialize() session data error when user tries to login

Eloquent insert id with sequence next value

How to Generate PDF invoice to XML format using mPDF

Is there an equivalent of DynamoDB on Azure as a PHP session Handler

Target Laravelista is not instantiable

Uploading video to Youtube using Youtube Data API V3 and Google API Client PHP -- getting 401 (unauthorized) message

About Contact Privacy policy Terms and conditions