Speed Cache


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.

Here it is.

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.


Back to Top ↑

11 Comments so far

Leave a comment
  1. 1

    what format does: Local Mirror expect? http:…

    or /var/www… ? with or without trailing slash

  2. 2

    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?

  3. 3

    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.

  4. 4

    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.

  5. 5

    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?

  6. 6

    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

  7. 7

    i hav installed
    please see my site and tell me weather is this speed okay or not

  8. 8

    I was curious if you can use this plug-in for cacheing non wp pages.

  9. 9

    If my blog is hosted by bluehost, for the mirror it would be bluehost-content/cached.js

    I’m so confused! (it’s a wordpress theme but hosted by blue host)
    HELP!
    lu

  10. 10

    I installed wp super cache, but still is low speed. suggest me some plugin.

RSS feed for comments on this post. TrackBack URI

Leave a comment

Comments may be edited for formatting.