JMParsons
Forum Replies Created
-
I was concerned about upgrading to WP3 for W3 Total Cache compatibility since I believe it’s essential with my S3 setup. I did it anyways and stumbled across the same “object exists” situation.
From poking around the code and doing some testing I noticed that changing the meta data for an attachment triggers an upload. I’ve been using my own script where I adjust the meta data, then upload the file. Now just updating the meta data triggers the file upload.
The attachment meta data is pretty much an array of image sizes, so if you have custom thumbnail sizes and what not they are stored in this attachment meta data and serialized.
In the W3_Plugin_Cdn class there are new hooks, actions / filters. I think what is happening is when an image is uploaded, afterwards when the meta data is updated it gets triggered to upload again. It loads each image present in the meta data, in my case 8 different sizes. The time to upload an image is definitely noticeable now with the image processing and upload routine running twice – my php console shows 16 upload actions for 8 images.
Since I haven’t had the time to crack it open other than just skim across it and throw in some breakpoints, I have resorted to just use force over-writing. I toggle it off during custom or theme file uploads so I don’t overwrite and have to invalidate (force cdn purge) my folders. I might try to make a temp fix for it..but with toggling the force over-write and dealing with the upload time, it hasn’t been much of a problem.
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] Custom use of W3 S3 libHey thanks for the reply!
I should have marked my topic resolved sooner. Since I was dealing with resized images using wp’s image_make_intermediate_size, the folders were already setup, so I just need to upload a single file or delete / unlink it. I ended up using an instance of w3 plugin cdn, and then using its upload and delete functions with my relative file names. My functions were already creating the additional metadata, so I was able to just keep it to moving a single file at a time.
Thanks again for the follow up, really appreciate it.
Forum: Your WordPress
In reply to: Xenohub.comThe pages that didn’t have content are auto filled when new posts are written. Most are filled now except for some of the special categories.
Our top posts widget is actually custom. The widget uses our jquery cookie plugin combined with our sidebar widget handler, and pulls data via wordpress ajax. Took quite some time to finish it lol, and it went through a few major revisions.
We will be opening advertising at a later point when the site has matured enough, possibly in the next month or two.
Thanks for the feedback! 🙂