• 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

Laravel 5 session not persisting after user is logged in

What is the function of the (new Date()).getTime() in PHP?

Apply session id from request header

WordPress ACFNotice: get_field() - We've detected one or more calls to retrieve ACF field values before ACF has been initialized

How to install php yaml on CentOs?

PHP: Telegram Bot: Insert line break to text message

storagelogs/laravel.log" could not be opened in append mode: failed to open stream: Permission denied

Laravel Command Schedule Not Working Properly

OctoberCMS / Anonymous Global Scope

Symfony Error: "An exception has been thrown during the rendering of a template"

Why "Class 'GuzzleHttpClient' not found" even after Installing it in Laravel?

How to get result of the formula on import xlsx with maatwebsite using Laravel? I get formula and not value of the formula

Can I write PHP code across multiple lines per statement?

Laravel - Browser displays message again when I press back button

Creating a config file in PHP

About Contact Privacy policy Terms and conditions