Another WordPress plugin. I’ve been using this on my own site for a long time and, after people encountered 404s searching for it, have decided to publish it.
Speed Cache basically takes external files such as javascript and CSS and mirrors them on your own server. I’m not going to go into detail about why you’d want to do this - you either do or you don’t. If you do, then feel free to use the plugin.
Support questions in the comments for now, but I’m not providing any guarantees. This post may be replaced by a proper info page about the plugin sometime in the future, but at the moment that’s unlikely.
9 Comments so far
Leave a commentwhat format does: Local Mirror expect? http:…
or /var/www… ? with or without trailing slash
reported by ovidiu on November 29, 2007 9:33 pm | Permalink
and does your plugin automatically exchange the original resource with the local mirrored one or do I have to edit all original code and replace with my mirrored content?
expressed by ovidiu on November 29, 2007 9:41 pm | Permalink
Local mirror is a path without a leading “/” from your blog’s root directory. So for http://blogname.com/wp-content/cached.js you’d write wp-content/cached.js.
You’ll have to edit your template / theme to point to your mirrored content.
announced by Ankur on November 29, 2007 10:12 pm | Permalink
For example, if you’re running Google Analytics, you could have something like:
File URL:
http://www.google-analytics.com/urchin.js
Local Mirror:
wp-content/urchin.js
Of course, make sure that the local file is writable.
disclosed by Ankur on November 29, 2007 10:16 pm | Permalink
ok, thx.
one last question: you say: “make sure that the local file is writable” does this mean I have to manually create the local file? or is it ok if I make the i.e. wp-cotnent/cache/speedcache folder writeable by the browser? will your plugin create the file for the local mirror by itsself?
composed by ovidiu on November 29, 2007 10:31 pm | Permalink
Using…
File URL:
http://www.google-analytics.com/urchin.js
Local Mirror:
temp/urchin.js (chmod 777)
Getting Error “Couldn’t fetch URL”
Your using fopen to fetch the File URL and my PHPinfo is showing allow_url_fopen “on”
Apache log is showing no errors
Any Suggestions?
Thanks
spoken by couchmouse on November 30, 2007 3:28 am | Permalink
i hav installed
please see my site and tell me weather is this speed okay or not
spoken by Mark on March 31, 2009 9:00 pm | Permalink
I was curious if you can use this plug-in for cacheing non wp pages.
declared by Dan on December 12, 2009 3:48 am | Permalink
Leave a comment