Does CodeIgniter cache resources like CSS?

309
June 03, 2017, at 9:45 PM

Each time I change something in my .CSS I can't see any change on my website.

Only after instead of typical refresh I do force refresh by

ctrl+F5

Why? It's like CodeIgniter is caching this css file. And maybe other files. Something like mod_deflate or mod_expires...

But in main .htaccess (main folder) I have only

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]

Maybe somewhere else? In other file? CodeIgniter's doing this.

Where?

Answer 1

like this add new one more line in code check it i hope your work is fine,

RewriteEngine On
RewriteCond $1 !^(index\.php|(.*)\.swf|forums|images|css|downloads|jquery|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L]
READ ALSO
PHP - MySql run query on many databases

PHP - MySql run query on many databases

I have 300+ database with same tables and one database which contain credential (Host ip, username, password, database name) of this database

250
Error while running sql multi query

Error while running sql multi query

I am trying to run an sql multi_query but I am getting an error on my page

245