[TYPO3-english] Solution to slow remote scripts?

Wiel, J.A.M. van de j.a.m.v.d.wiel at tue.nl
Wed May 27 19:28:01 CEST 2009

Hi Morten,
I'd say the idea is worth pursuing, but not really as an extension. I would say a shell script called from cron every now and then will do. Have it wget the file you need, do some integrity checking just to be sure, move to the right location and you're done. I don't really see where TYPO3 itself has any kind of role in this.

From: typo3-english-bounces at lists.netfielders.de [typo3-english-bounces at lists.netfielders.de] On Behalf Of Morten Kjems [mortenkjems at gmail.com]
Sent: Wednesday, May 27, 2009 6:32 PM
To: typo3-english at lists.netfielders.de
Subject: [TYPO3-english]  Solution to slow remote scripts?

I have been doing some research on how to speed up a website.

One of the key elements is to merge and minify javascript and css files.

This is easy in TYPO3 with an extension like "speedy" and in TYPO3 4.3
this feature will be integrated.

However many websites rely on remote javascripts hosted outside the
installation. This is often google analytics, shopping charts, ads etc.

You can optimize you site to be lightning fast only to realize that one
slow remote javascript takes forever to load.

While researching this topic I came across an idea that could be a solution.

The trick is to fetch and to host these remote scripts locally. But this
brings up a new problem. If the scripts are updated you will have an
outdated local copy.

Now i wonder if it is possible to write an extension that fetches remote
javascripts once every day and then overwrite the local version. This
way you gain the speed advantage that local hosting provides without the
risk of having an outdated script.

Does this solution already exist?

Or is an idea worth pursuing?


TYPO3-english mailing list
TYPO3-english at lists.netfielders.de

More information about the TYPO3-english mailing list