Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-01-15 14:43:07

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

css.php required when using flat CSS?

Hi there,

Quick question, is the css.php file, which is in root directory, needed if you host your CSS files the traditional way (i.e., not using Textpattern database for CSS)? Is it OK to remove this file?

Offline

#2 2015-01-15 16:21:25

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: css.php required when using flat CSS?

Sure, kill it.

Offline

#3 2015-01-15 16:30:04

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: css.php required when using flat CSS?

Thanks Ruud!

Offline

#4 2015-01-15 17:11:34

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: css.php required when using flat CSS?

ruud wrote #287434:

Sure, kill it.

You mean, we can ignore the following?

Diagnostics

Pre-flight check

Missing files:
/home/www/blabla/html/johndoe/textpattern/../css.php

Offline

#5 2015-01-15 17:18:23

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: css.php required when using flat CSS?

GugUser wrote #287439:

You mean, we can ignore the following?

Diagnostics

Pre-flight check

Missing files:
/home/www/blabla/html/johndoe/textpattern/../css.php

I guess that the answer would be yes unless you want to use the built in styles interface.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#6 2015-01-15 17:39:55

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: css.php required when using flat CSS?

colak wrote #287440:

I guess that the answer would be yes unless you want to use the built in styles interface.

I don’t, I never use that. I can live with the pre-flight warning in this case.

Offline

#7 2015-01-15 18:49:37

GugUser
Member
From: Quito (Ecuador)
Registered: 2007-12-16
Posts: 1,473

Re: css.php required when using flat CSS?

I never use the database based css too.

Offline

#8 2015-01-15 19:04:18

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: css.php required when using flat CSS?

I like using it in combination with rvm_css. Instead of using the tags though, I call the file directly.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#9 2015-01-16 00:01:40

towndock
Member
From: Oriental, NC USA
Registered: 2007-04-06
Posts: 329
Website

Re: css.php required when using flat CSS?

I use the php based css on low traffic sites, and css static files on higher traffic sites.

Is there any performance advantage to removing the css.php file if a site actually isn’t using it?

Offline

#10 2015-01-16 08:42:53

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: css.php required when using flat CSS?

No performance advantage. You just gain a tiny bit of disk space :)

Offline

Board footer

Powered by FluxBB