Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Cache-Control header always prepend "no-store, no-cache, must-revalidate"
Post: RE: Cache-Control header always prepend "no-store,...

bgeneto Wrote: (03-01-2024, 06:32 AM) -- I've tried in the initController method of my BaseController class without success. What is the official CI4 solution for this header duplication issue? I...
1,274 Views
8 Replies
03-01-2024, 10:19 AM
parisiam
    Thread: Cache-Control header always prepend "no-store, no-cache, must-revalidate"
Post: RE: Cache-Control header always prepend "no-store,...

ozornick Wrote: (08-22-2023, 08:10 AM) -- Session init in files? See session_cache_limiter() Turn off -- Yes you're totally right ! Thank you very much for your hint ;) It led me to the solution ...
1,274 Views
8 Replies
08-22-2023, 03:00 PM
parisiam
    Thread: Cache-Control header always prepend "no-store, no-cache, must-revalidate"
Post: Cache-Control header always prepend "no-store, no-...

I'm using PHP 8.1 and CI 4.3.7 I've built a filter to change HTTP caching (Cache-Control header) for some pages of my website. PHP Code: -- class CacheFilter implements FilterInterface {     ...
1,274 Views
8 Replies
08-22-2023, 06:29 AM
parisiam
    Thread: env file and boolean values ​​such as true or false
Post: RE: env file and boolean values ​​such as true or ...

I think the solution is to let the Dotenv value to empty. Let's say I have a boolean Dotenv variable such as email.DSN. To set it to false, I use: Code: -- # Use the following to set the value ...
2,787 Views
5 Replies
03-21-2023, 12:22 AM
parisiam
    Thread: supported locales (array) in .env
Post: supported locales (array) in .env

Hi all, I'm trying to set the $supportedLocales into the .env file and it's not working. $supportedLocales comes as an array, so in the config file, it sould be in, for example : PHP Code: -- ...
4,407 Views
6 Replies
08-14-2020, 07:46 AM
parisiam

Theme © iAndrew 2016 - Forum software by © MyBB