Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-01-06 12:57:06

Wolfgang
Member
From: Germany
Registered: 2006-07-18
Posts: 71
Website

I've found some textpattern-speed-problems - How can I continue?

Hello

Every Webmaster has Access to the google webmastertools and here the program page speed gernerates some messages. This messages I’ve investigated.

The detailed results you can find in the german Article: Page-Speed-Probleme mit CSS-Dateien von Textpattern and yes, I plan to translate it complete. But before I do it, it may be better place this link here.

The summary of this article is.

  1. Texpattern should support a “Last-Modified”-Tag in the HTTP-Response-Header of a CSS-File
  2. Texpattern should support a “Etag”-Tag in the HTTP-Response-Header of a CSS-file
  3. Textpattern should gzip the CSS-files.

The arcticle explains how I’ve detected this problem, and it shows a workaround to solve the problem without changing textpattern.

My questions here are:

  1. Is this point interesting for you or not?
  2. If it is interesting, may it be possible to write an english description in an english blog as gues author

The other point – do you want to include the features into textpattern may be more your decision. The workaround works well enough.

Best regards
Wolfgang

Offline

#2 2010-01-06 13:04:27

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

Re: I've found some textpattern-speed-problems - How can I continue?

Hello Wolfgang,

I, for one, would certainly like to see a translation of that article. I have been at a loss how to correct these issues.

Joe

Offline

#3 2010-01-06 15:55:00

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,376
Website GitHub Mastodon

Re: I've found some textpattern-speed-problems - How can I continue?

I would suggest a very simple solution: Use rvm_css, thusly switch to static CSS files, and then configure your web server accordingly to serve those properly:

Anything else is too much manual labour, IMHO.

Offline

#4 2010-01-06 16:13:42

trenc
Plugin Author
From: ⛵️, currently Göteborg, SE
Registered: 2008-02-27
Posts: 574
Website GitHub

Re: I've found some textpattern-speed-problems - How can I continue?

Hi Wolfgang,

  1. Texpattern should support a “Last-Modified”-Tag in the HTTP-Response-Header of a CSS-File
  2. Texpattern should support a “Etag”-Tag in the HTTP-Response-Header of a CSS-file
  3. Textpattern should gzip the CSS-files.

Due the Last-Modified-Header and the ETag does more or less the same it’s recomended only use one of these, because of the overhead. Textpattern supports the Last-Modified-Header, so I would prefer the usage of rvm_css and disabling ETagging by simple put the following in you .htaccess. This also suppresses misconfigured ETags:

FileETag None
<ifModule mod_headers.c>
	Header unset ETag
</ifModule>

Gzipping should be done by the webservers with mod_deflate and not by the PHP parser, which uses more CPU cycles.


Digital nomad, sailing the world on a sailboat: 32fthome.com

Offline

#5 2010-01-06 17:14:51

Wolfgang
Member
From: Germany
Registered: 2006-07-18
Posts: 71
Website

Re: I've found some textpattern-speed-problems - How can I continue?

wet wrote:

I would suggest a very simple solution: … Anything else is too much manual labour, IMHO.

Thank’s – I will try it

trenc wrote:

Textpattern supports the Last-Modified-Header, so I would prefer the usage of rvm_css and disabling ETagging by simple put the following in you

and disable Etagging …

joebaich wrote:

I have been at a loss how to correct these issues.

Sorry but I’ve a German blog only. A translation only makes sence if it is needed to solve the translation or to be guest author anwhere.

Best regards
Wolfgang

Offline

Board footer

Powered by FluxBB