• 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

PHP array stringify

Edit product hook WooCommerce

Can't exclude directories from .htaccess mobile redirect?

RabbitMQ PRECONDITION_FAILED - unknown delivery tag

virtctl works when executed via command line but not from php exec()

Google Calendar API batch request PHP

Getting public posts of a random user from Facebook API

auth pages not getting css in laravel

Call to a member function givePermissionTo() on null

PHP Sorting - getting 10, 11, 12 ... 1, 20, 2 rather than 1, 10, 11, 12 ... 2, 20

How to convert time from one timezone to another in PHP

Sentry + Laravel: how to log an already catched Exception?

Nginx RTMP not recording

Laravel 5.1 xmlHttpRequest AJAX POST TokenMismatchException

Image upload not working through ajax Laravel

About Contact Privacy policy Terms and conditions