Fiji Web Design
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Thanks for the 1.5 Plugin - having a few problems (1 viewing) (1) Guest
Joomla Speedy Plugin will install the PHP Speedy Library and configure it through the Plugin's parameters.
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Thanks for the 1.5 Plugin - having a few problems
#267
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:Thanks for the 1.5 Plugin - having a few problems 3 Years, 3 Months ago Karma: 10  
It appears that speedy will ignore <script> and <link> tags with single quoted attributes.
eg: <script src='http://example.com/src.js'></script> will be ignored.

It also ignores those that have file urls not ending in static file names, .css and .js. eg: .php will be ignored.

--

I installed sobi2 and it is giving me <script> and <link> tags with double quoted attributes. Are you using an older version?

--
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#268
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:Thanks for the 1.5 Plugin - having a few problems 3 Years, 3 Months ago Karma: 10  
moseleysc wrote:
QUOTE:
Hi there,

Yeah, I knew it was developed at acid drop. I've tried before to integrate it with Joomla 1.5, but I couldn't get it to work. I did a few other things that basically gave me enough "speed up" to not have to use PHP Speedy. I came back to look at it because of all the javascript files Community Builder spits out.

I've looked at the compressor file a little bit, and couldn't find where the compressed files are output - it is simply placing it in the head after the last occurance of a script or css file?

I have some projects that really need to get done, so I can't look at it too much, but I guess my idea for the future would be to see if PHP Speedy can return both the script and the css files in variables to the bot_speedy file, then you can add the files to the head with Joomla's addScript method, which puts it pretty high up in the head (and might avoid some of the problems with scripts referencing a library not yet loaded).

Just a thought.

Steve


The method compressor->compress() is doing the replacements. I think the problem is that it does not replace inline JS, and thus the JS execution order of inline and remote JS changes.

I've added the issue to the tracker: http://code.google.com/p/joomla-php-speedy/issues/detail?id=2

I think the ways around it is to:

1) only compress JS files in between inline JS, and inset the compressed JS file back in the correct execution order. This would mean more then one cached JS file and more HTTP Requests - but less cache expiry.

or

2) to include inline JS into the compressed files. This would mean that any editing of the inline JS would make the cached JS file stale/expire and trigger a recreation of the cache.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#269
BugzzBunny (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Thanks for the 1.5 Plugin - having a few problems 3 Years, 3 Months ago Karma: 0  
For me it ignores more or less every script..

joomla.javascript.js
mootools.js
caption.js
ajax.js
jquery.js
jquery.innerfade.js

so its not just those which have single quotation marks.

earlier it half worked, not anymore it seems
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#270
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:Thanks for the 1.5 Plugin - having a few problems 3 Years, 3 Months ago Karma: 10  
BugzzBunny wrote:
QUOTE:
For me it ignores more or less every script..

joomla.javascript.js
mootools.js
caption.js
ajax.js
jquery.js
jquery.innerfade.js

so its not just those which have single quotation marks.

earlier it half worked, not anymore it seems


Hi BugzzBunny,

Do you have the speedy plugin enabled in the plugins manager?

Is the parameter "debug mode" set to "no"?

Please send the URL of your website.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#271
BugzzBunny (User)
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Re:Thanks for the 1.5 Plugin - having a few problems 3 Years, 3 Months ago Karma: 0  
Yeah I have it enabled, it apparently was that debug mode.

Getting a bit slower loading times with it enabled allthough im caching it with ACL.

The adress was as i think i posted earlier: http://www.axxell.fi

and yeah production site, i like to live on the edge, im an extreme webmaster

EDIT: disabled it, my first page css got messed up
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/10/21 05:22 By BugzzBunny.
  The administrator has disabled public write access.
#272
admin (Admin)
Admin
Posts: 475
graph
User Online Now Click here to see the profile of this user
Re:Thanks for the 1.5 Plugin - having a few problems 3 Years, 3 Months ago Karma: 10  
Speedy does a lot of work on the initial load since it has to optimize all those files. You'll get a bit of CPU and Memory usage.
I will get the files from cache on the next load, given none of them have changed.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Joomla Downloads

DownloadsDownload our free Joomla! Components, Modules and Plugins.