Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2009-08-06 13:48:24

woof
Member
Registered: 2004-08-01
Posts: 128

Re: pat_speeder

Hi Patrick

This is a realy useful plugin, thanks. A suggestion: It would be really nifty if there was a version of this plugin that you could apply to select areas of your code (ie as wrap tags). For example it would be a solution to this issue

Offline

#26 2009-08-06 14:15:56

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: pat_speeder

Tkx John.

Good idea. I’m trying to add this.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#27 2009-08-18 22:37:04

candyman
Member
From: Italy
Registered: 2006-08-08
Posts: 684

Re: pat_speeder

Very nice the launch site!

BTW: activating the pat_speeder plugin, the icons of Gocom’s rah_textilebar plugin disappear. Any solution?
Thanks in advance for the help.

Offline

#28 2009-08-21 13:35:20

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: pat_speeder

Hi candyman.

rah_textilebar is a back-end plugin ; pat_speeder is a client one. Are you sure you’d got this problem? I can’t reproduce it.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#29 2010-11-12 08:21:12

koguma
New Member
Registered: 2010-11-12
Posts: 4

Re: pat_speeder

Hi,

Unfortunately your plugin does not work with any of the Flabell Flash components. Check it out, they have a bunch of free ones you can test with: http://www.flabell.com

Offline

#30 2011-08-07 15:23:00

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: pat_speeder

All

New version added into this thread first post: version 0.4.c add support for “HTML5/Boilerplate” doctype declaration method (06 Jul 2011).

Enjoy HTML5.


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#31 2011-08-12 09:02:14

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: pat_speeder

Version 0.4.c:

Added some additional advices into help file. Take advantage of server Gzip compression for all your files (javascript, css, php, images) never mid where they are located. With few lines of code into your .htaccess file (conditional tags to check if Gzip is available on your server).


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#32 2012-06-20 04:47:07

scottcal
Member
From: Encinitas, CA
Registered: 2010-09-04
Posts: 21
Website

Re: pat_speeder

Great plugin it works wonders. Although I just have some issues with Disqus comments loading on my page.’

Update: Yea it seems to have some issues with js.

Last edited by scottcal (2012-06-21 16:45:56)

Offline

#33 2014-03-26 10:03:53

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: pat_speeder

New dedicated website page: http://pat-speeder.cara-tm.com
And a new version 0.5:
Corrects removing spaces between some tags.
Plugin help page: http://pat-speeder.cara-tm.com/help


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#34 2014-03-26 14:27:08

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: pat_speeder

scottcal wrote #262160:

Update: Yea it seems to have some issues with js.

JavaScript is white-space driven language; it sports automatic semicolon insertion feature that works by inspecting newlines. As the plugin removes newlines, it will break previously valid JavaScript.

Pat64 wrote #279912:

And a new version 0.5

This condition doesn’t work:

if ( strpos($buffer, '<pre') < 0 || strpos($buffer, '<script') < 0 ) { 
    $buffer = preg_replace('/\s+/', ' ', $buffer); 
}

strpos() never returns an integer below zero. It either returns the zero-index position of the needle, or boolean false. In this case you want to skip the replace statement when document contains either tags, so you will want to check against false using identical operator (===), joined by and operand rather than or:

strpos($buffer, '<pre') === false && strpos($buffer, '<script') === false

But then again, the check is pretty useless given that almost all pages will contain a script tag. I would recommend taking a look at Minify_HTML, which does the minimum logic needed for more versatile minifying.

Offline

#35 2014-03-26 21:44:44

Pat64
Plugin Author
From: France
Registered: 2005-12-12
Posts: 1,599
GitHub Twitter

Re: pat_speeder

Oh, Yes, sure! Sorry Jukka.
An old error in this plugin corrected but there was a mismatch with my versions…


Patrick.

Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.

Offline

#36 2015-05-05 17:52:10

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

Re: pat_speeder

Hi Pat,

Is there a way to make this plugin work with rvm_css? I’m trying to figure out a way to leave the styles untouched in the db so as to easily change them in the css tab but on save, the styles are minified in the saved external css file.


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

Offline

Board footer

Powered by FluxBB