May 17 2010
WordPress Plugin – Parallel Loading System
Tagged Under : image optimization, loading, parallel, plugin, seo, speed improve, system, Wordpress
Hello!
The WP-PLS (short for Parallel Loading System) is a WordPress plugin that will enhance the loading efficiency of your Blog. It’s very simple to use and it will only require a small amount of time to configure at the start.
Download from WordPress Plugin Repository (Updated to version 0.1.7)
Follow me for real-time updates
Why use it?
If you have an image intensive Blog, or even if you don’t, this plugin will boost the loading time of your Blog. The more images you have the more it will improve.
The amount of people that will visit your website for the first time or visit with an empty cache or disabled cache is huge, therefore, the best your website performs on that first visit the more chances that person will remain to view your website.
It is also known that nowadays, Google (and other search engines), are taking into account, for ranking purposes, your website page speed. Google Bot does not conserve a cache when it visits your website, so, the faster your website loads the more chances you have to rank higher.
This plug will not change anything on your Blog. Every change that it makes will be processed in real time, right before the HTML code of your Blog is sent to the browser.
How does it work?
Standard HTTP v1.1 requests only allow 2 connections, at the same time, from the same domain.
This plugin will virtualize connections, through defined subdomains. You can have as many subdomains as you like, but I do recomend using a maximum of 5.
Requirements?
The plugin is programmed to be aware of this requirements, and if not fulfilled it will not change anything on your Blog.
It will not break your Blog code!
- Your server needs to have a working GD Library module for PHP.
- You should have a PHP installation with a minimum version of 5.1.3
- Access to your server Administration Painel (cPanel, DirectAdmin, Plesk) in order to create new sub-domains for your domain.
Lets say your domain is wp-pls.com. You will need to create domains like
image1.wp-pls.com
image2.wp-pls.com
…
How to install?
This plugin is installed like any other WordPress plugin out there.
- First you need to download it from WordPress Plugin Repository.
- Upload the contents of the compacted file to your plugin folder on your WordPress installation.
- Go to your WordPress Administration page and activate the Plugin (Plugins → Installed → WP-PLS → Activate)
- Go to Settings → Parallel Loading System
Plugin features?
Some of the features that you can expect when using this plugin:
- Automatic Image Optimization.
- Parallelize HTTP connections.
- Page speed improvement.
- Auto-Path find (Automatically find server root path, sub-domain path, plugin resources path…).
- Cache loss minimization.
- Sub-domain real-time health tracking.
- Auto recovery from resource files bad sync.
- Ability to activate / deactivate sub-domains
- Plugin Updates aware. (automatically re-sync files and database after an update)
What’s in the cooking pan?
This was only the first release of the plugin. I’ve got a lot of new ideas that I would like to see implemented on next releases.
Some of them are:
- Also parallelize CSS and JavaScript loading.
- Add support to also load external images. At the moment it will only load locally stored images.
- Add real-time rewrite functions to CSS and JavaScript. That way, images that have been called from the CSS file will also be parallelized.
- Overall improve of the code.
- Add options to manage image quality rendering.
- Bug fixes (when found or reported).
- And much more…
If you have any features that you would like to see implemented, please don’t hesitate to comment this post, tweet me or mail me
I need help!
It’s normal if you run into problems and I’m here to tell you how to fix them.
If for any reason the plugin is telling you that it doesn’t have permissions to alter a given file you will need to access your server, using your favorite FTP Client (Filezilla, Cyberduck, FlashFXP…) and change the permissions of the file to 777. You can revert them back to 644 (normal permissions of a file) after the plugin finishes the modifications.
If you get a sub-domain health notification stating that your sub-domain is returning a 500 HTTP error code the most probable explanation is that your sub-domain folder has 777 permissions. Revert them back to 755 and you should be fine.
If you have any further questions please don’t hesitate to send me an email or add a comment on this post.
Creating sub-domains on cPanel?
Creating sub-domains on Plesk?
- Log in to Plesk
- Once logged in, click the ‘Home’ button in the left navigation frame.
- Click on the domain name you wish to create a subdomain for.
- Click on the ‘Subdomains’ button. This will take you to the subdomain manager.
- Add a new subdomain by clicking the corresponding button (Add New Subdomain).
- Enter the subdomain in the associated field. The SSL support checkbox is optional, and should be used if you intend on using SSL with your subdomain.
- If you’d like to use the same FTP information as your main domain to access the subdomain, skip down to the ‘Services’ section. If not, select the checkbox ‘Create a separate FTP user account for this subdomain’. Enter an FTP username and password, along with a hard disk quota. If you do not enter a hard disk quota, the subdomain will be allowed to use all resources included with your main domain.
- In the ‘Services’ section, it is advised to check all services. This will ensure that your subdomain can support all the features our hosting accounts offer.
- Click the ‘OK’ button to create the subdomain.
Creating sub-domains on DirectAdmin?
Creating sub-domains on manually on your server?
To create a sub-domain, if don’t use a Control Panel, edit your http.conf file (normally located on /etc/http/conf/http.conf) and add the following at the end:
NameVirtualHost *:443
<VirtualHost *:80>
ServerName YOUR SUBDOMAIN
DocumentRoot ROOT TO SUBDOMAIN PATH
ErrorLog ROOT TO SUBDOMAIN LOG
</VirtualHost>
<VirtualHost *:443>
ServerName YOUR SUBDOMAIN
DocumentRoot ROOT TO SUBDOMAIN PATH (SSL)
ErrorLog ROOT TO SUBDOMAIN LOG (SSL)
</VirtualHost>
This post will be updated, if needed, to reflect changes made to the plugin.













It’s working great
Already up and running @ http://scarletbits.com/ , hope to see it more out there as it consist of a simple (for the user) yet amazingly powerful improvement, especially now with the page speed ‘fact’. Excellent work!
Hi,
i just installed your plugin and tried to add an subdomain for parallelisation.
I first created a Subdomain which links to an folder with 755 permission.
Next I gone to the WP admin panel, to parallel loading system an tried to add the subdomain.
When I press “Add Sub-Domain”, the following error occures:
“I was unable to find your http server root”
I unfortunately have no idea, what i could do so solve the problem. Could you maybe give me some support?
Is it important to link the subdomain to a special directory? maybe the same like the wp install folder?
Hello Patrick,
Could you please tell me what kind of administration system you’re running on? cPanel, Plesk, DirectAdmin…
Also, can you tell me, if you know, what your wordpress full path is? – You can check this very easily by creating a new file on your computer, call it getcwd.php and add the following content to it:
< ?php echo getcwd(); ?>Upload that file your wordpress root (this is the place where wp-admin, wp-content and wp-include folders.
After uploading it go to your browser and put the link to your blog (example: http://example.com/blog/ or http://example.com/) and add getcwd.php at the end, so you get something like this: http://example.com/blog/getcwd.php or http://example.com/getcwd.php
Let me know what you see in that page.
This happens because the plugin will try to automatically detect your server root in accordance to most common file systems. If it doesn’t find the path it will have to be added manually. I’m in the process of adding this functionality.
Thank you for your feedback and looking forward to ear from you again.
I use GoDaddy for Domain Management and MediaTemple as the Hosting provider. So, I need to create a sub-domain using GoDaddy, right?
GoDaddy gives the option to create sub-domain and asks us to forward it to some url. In this case I forwarded it to the main domain.
Now when I add sub-domain to the Parallel loading system , all it says is the sub-domain cannot be verified, click “here” to check it. When I click on it, it takes me to the blogs homepage. When I go back to the plugin dashboard, it doesn’t show any sub-domains that have been added.
So, I’m going wrong somewhere. Could you kindly advice, what I can do to set this up properly.
Thanks.
Hi,
i just installed the plugin and the subdomain health is returning HTTP/1.0 404 Not Found.
What happened with that? Thanx.
Hello Viki,
If you’re using MediaTemple you need to create your sub-domain directly with MediaTemple. If you’re using one of the Grid solution I’m not sure whether you have access to server control panel or if MediaTemple provides that directly on your Grid Control Panel.
GoDaddy only allows for you to create domain redirections, which, in this case does not work.
I’m going to check on MediaTemple KnowledgeBase and get back to you as soon as I know more.
Thank you.
Hello Xbitz,
Can you tell me your sub-domain? Do you get any other error report on the plugin admin page?
Hope to hear from you soon.
Hello again Viki,
I have checked with MediaTemple and you need to add sub-domains using the grid-service control painel (if you have grid-service).
If you have any other higher solution you should have Plesk installed and that is the place to add them.
Let me know how it goes.
Hi again,
I’m using Westhost as the hosting provider to add the sub-domains.
The only error I got is HTTP/1.0 404 Not Found.
Thank you.
Xbitz,
The plugin tries to find a image sample that is provided with the plugin itself, and for some reason it is not being able to find it.
Could you please tell me what sub-domain you have added? Like http://image1.example-domain.com
I’ve added http://img1.futuresgalleriablog.com for the sub-domain.
Hey guys,
Sounds like a sweet as plugin, but.. what about interaction with WP Super Cache? Are they compatible?
Erik
Hello Erik,
They sure are. I’ve tested with a few other blogs that had wp super cache and it worked great. I am however work on better integrations with other known plugins.
Hey Xbitz,
I’ve checked your sub-domain and all seems to be fine. Could you please check if the files have been successfully uploaded to the sub-domain path?
There must be some miss-synchronization with the plugin core files.
Let me know how it goes.
Hi José,
Just followed your instructions and created a new sub-domain. Now there is a new folder with the sub-domain in my File Manager. Would this suffice the purpose of the plugin? I hope I don’t need move any wordpress related content in this folder.
Also, I upgraded the plugin, now it does not give an option to input sub-domain but asks me to input the root dir, I did that and it says the root dir was accepted. But getting an error on top that says –
“While installing this script I was unable to edit load_image.php with your server definitions. Please change load_image.php permissions to 777 and click the button bellow.”
I changed the load_image.php permissions to 777 and it made the required changes. Now I changed them back to 755, and it looks ok so far. Now I get the option to input the sub-domain.
I am however not able to access the subdomain. It gives a 403 forbidden error. I tried changing permissions of the subdomain folder to 777, still it gives the 403 forbidden error. Getting error –
“The subdomain you just added could not be verified. Click here to check it.” When I click on the subdomain link, boom – 403 error. What am I doing wrong. Compatibility and root folder status are both “Green”
So far all your instructions have went well…..if we get through this 403 error, I think the plugin would start functioning on the blog. Please advice.
Thanks for all your help,
Viki.
It overwrote my .htaccess files (and wiped out any customizations I made to it). Bummer. Everything seemed OK (home page, WordPress admin pages) but then I clicked on a post permalink (any post. actually)… and got 404 all the time. Basically, I guess it’s because my .htaccess file got overwritten entirely… instead of just having some entries added to it…
Thank goodness for having made a backup of my .htaccess file earlier…
Oh… I see… the new version 0.1.1 fixd the issue (.htaccess file is no longer overwitten)? Just tried the new version… seems OK so far.
Massa,
Great!
Please let me know if you require additional assistance.
=== UPDATE ===
I will be addressing the .htaccess rewrite issue today. I apologize for the problem caused!
Thank you for the report.
Hello Viki,
Thank your for the information.
So, when you get a 403 error when accessing a sub-domain it’s normal if you don’t have a index.html or a index.php file in there, see for example my sub-domain: http://img1.joseairosa.com/. As you can see I’m also getting a 403.
With the plugin I provided a test image. You can access the test image through the sub-domain using the following path: wp-content/plugins/parallel-loading-system/check_headers.jpg
So if a blog is located on apache root folder you should be able to test it by going to http://my-sub-domain/wp-content/plugins/parallel-loading-system/check_headers.jpg.
If for any instance your blog is not located on your root folder, lets say, it’s located on a folder called blog (http://my-somain/blog/) you should test it by also adding this folder on the sub-domain, http://my-sub-domain/blog/wp-content/plugins/parallel-loading-system/check_headers.jpg
This is only for testing purposes and will let us debug what might be wrong.
On other note, it might be a problem with your root path. If the above doesn’t help, please open the load_image.php file, inside your sub-domain FTP folder, and check the root folder, it’s something like: “define(‘ROOT_PATH’,”);”. Send me an email with that path and I’ll tell you what might be wrong.
Hope I’ve been clear
Let me know if you require additional support.
Hello Xbitz,
I’ve checked your sub-domain and in fact it’s returning a 404 Not Found. In order to further test this, as it might be specific to your file system, I would need to access your blog and/or FTP. If you would like me to test it please send me an email to me@joseairosa.com.
In the meantime I will try to find the error from my side.
Hope to hear from you soon.
Hello Jose,
I tried your plugin yesterday. It didn’t recognize the sub domains. I saw the update today. Followed all the instructions and then got a error which knocked my blog down.
I had to remove the plugin, and rewrite my htaccess again. Not so happy.
Dave
Hi José,
I just downloaded the newest version, installed it and clicked the update button.
Firstly everyhting seems to be perfect (I noticed the faster loading).
Next I changed a few things (updated the subdomain path, ..) and afterwards only the main page works, such as Massa P described.
This problem shouldn’t be a bug in your plugin – i think it is a serie of unfortunate events.
I tested the plugin in a development branch, so this is no realy problem.
Now I just want to say thank you for this realy helpful plugin! Good job!
Regards, Patrick
Hello Patrick,
Thank you for the kind words, if you liked this version next week I should be releasing a new one with more features.
I think there must be an unforeseen problem with .htaccess rewrite which I’m looking into as we speak.
Can you also check, when you open, let’s say, http://my-sub-domain/wp-content/plugins/parallel-loading-system/check_headers.jpg and see if you get a 200 OK or a 404 NOT FOUND.
Thank you!
Hello Dave,
I truly apologize about that issue. I’m looking into it as we speak.
However, this plugin does not mess with WordPress .htaccess in any way unless the sub-domain is exactly the same as your WordPress path, which shouldn’t be.
I will release today a hot-fix to address this problem in order to better protect WordPress own .htaccess.
I thank you for trying the plugin and reporting this issue!
Any idea when you will have a NGINX configuration example? (nginx rewrite rules, etc). Stumped on getting a compatible nginx rewrite rule in place.
Hello mastershake,
You might try something like this since QSA is automatic in NGINX:
if (-f $request_filename) {break;
}
if (-d $request_filename) {
break;
}
rewrite ^(.*\.(jpg|jpeg|gif|png|php)) load_image.php?file_src=$1&extension=$2 last;
Let me know how it works.
Hi José, what’s up with Windows Web Server 2008 with Plesk 9 (64 Bit)? Running IIS7 i have web.config instead of .htaccess and your interesting plugin troubles:
I was unable to find your correct root path. Please use the input field below to add it manually.
The path you provided doesn’t seem to be correct. Please double check it.
Specify Apache Root Path:
If you don’t know how to retrieve your root path I will walk you through.
At the moment, I’m is being run from this folder:
D:\inetpub\vhosts\exampledomain.com\httpdocs\wp-admin
It doesn’t let me tell the path, with windows it is D:\inetpub\vhosts\exampledomain.com\httpdocs – so said, WP is directly installed in that root.
what gives? Kind regards, Ron
Hmm, have just changed the path – just out of curiosity, really – changed to:
D:/inetpub/vhosts/exampledomain.com/httpdocs/wp-admin
and the plugin accepted it o_O – so instead of “\” seems “/” to work with Windows (as usual in native Win-environment)
Hello Ron,
Thank you for posting your feedback. Unfortunately I didn’t have a Windows system to fully test the system out.
The issue you exposed is a bug and I will fix it on next update (tomorrow). When the system builds the path it will automatically try to find the best appropriate and possible root path to help you on your manual insertion. The path is being re-built with “\” as default folder separator.
I would love to get your on-going feedback on how the plugin performs on a Windows based server.
Best regards.
Hi José, yeppers of course
. Your idea of such an Parallel Loading System is genius and i loved it the second i’ve read of. Hope i’ll get it working with Win, still messing around now with subdomains; but i#ll keep you updated
Dunno why it is not able to add the subdomains correctly – maybe because of the “\ /” thingy.
Parallel Loading System – 0.1.2
You can use this plugin to enhance the loading time of your website by parallelizing the connections to the server, since standard HTTP v1.1 only allows 2 connections, at the same time, from the same domain.
This plugin will virtualize connections, through defined subdomains. You can have as many subdomains as you like, but I do recomend using a maximum of 5.
Congratulations! I was able to update/install “http://img1.exampledomain.com” files
You should now revert the permissions of both D:/inetpub/vhosts/.exampledomain.com/httpdocs/img1 folder and file load_image.php inside it to 755
Sub-Domain has been added
Active Sub-Domains:
We could not find any active subdomains. Please add them using the form bellow.
Inactive Sub-Domains:
http://img1.exampledomain.com
Sub-Domain Health: HTTP/1.1 404 Not Found
http://img1.exampledomain.com
Sub-Domain Health: HTTP/1.1 404 Not Found
Maybe you could install on a local windows box @home XAMPP http://www.apachefriends.org/de/xampp.html or sth. like that, just to see how it works with Win…
Just getting now a cup of sleep
I got this error after i changed the load_image.php to 777
Warning: get_headers() [function.get-headers]: This function may only be used against URLs. in /home/studio25/public_html/wp-content/plugins/parallel-loading-system/wp-pls.php on line 75
Warning: current() [function.current]: Passed variable is not an array or object in /home/studio25/public_html/wp-content/plugins/parallel-loading-system/wp-pls.php on line 75
Sub-Domain Health:
here is line 74 75 and 76
function subdomain_health($subdomain) {
return current(get_headers(check_for_trailing_slash($subdomain).
str_replace(array(check_for_trailing_slash("http://".$_SERVER['SERVER_NAME']),
check_for_trailing_slash("https://".$_SERVER['SERVER_NAME'])),array("",""),
PLS_TEST_IMAGE_URL),1));
}
^^ got all working by theory in ii7. But practically whilst being parsed the images are missing. It seems to fail mainly because the rewrite is not working as intended. .htaccess works not for II7 and i had no luck ‘translating’ the .htaccess towards web.config
i am terrible sad
Hi Jose,
Its usefully plug-in and its good idea. Good job man but should we define a cname for subdomain?
Thanks
Hello quaker,
Another user had the same problem. Be sure to add http:// and https:// to the sub-domain. Otherwise it will not accept.
I will be releasing a fix for this on the next version (today).
Thank you for your feedback!
Hey Ron,
Thanks for the feedback. This might be a problem with the .htaccess since you’re on a Win Server. You told me you are using a web.config instead of a .htaccess right?
Try to go to your sub-domain pages and add the web.config file yourself. Then on that file add the following:
<rewrite>
<rules>
<rule name=”Main Rule” stopProcessing=”true”>
<match url=”^(.*\.(jpg|jpeg|gif|png|php))” />
<conditions logicalGrouping=”MatchAll”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” negate=”true” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” negate=”true” />
</conditions>
<action type=”Rewrite” url=”load_image.php?file_src={R:1}&extension={R:2}” appendQueryString=”true” />
</rule>
</rules>
</rewrite>
Not sure if this will work! I will try to implement this support on next release.
Thanks!
Hello Ugur,
Thank you for the feedback! It’s great to know that people are enjoying the concept.
It’s not needed if you use a Server Control Panel (cPanel, Plesk, DirectAdmin…) as they do everything for you.
If you’re using managing your server by yourself you will need to add an entry on http.conf to reflect your sub-domain info. Let me know if you require additional information.
Hi Jose, really like your idea of your plugin, I’m half the way to get it working, it’s look like I’m having the same issues Viki has, I do get the test image if I put it by the 2nd example you showed her, but not through the control panel of the plugin, I did added an index.html file just to check if the subdomain exists and it works fine. I don’t understand your 2nd suggestion to her to open the load_image.php file can you please clarify, If you mean that the path should be changed to /home/content/t/h/i/thisisnotreal/html/my-domain-name/blog/’); instead of /home/content/t/h/i/thisisnotreal/html/my-domain-name/’); its not working…
I still get the “The subdomain you just added could not be verified. Click here to check it.” message. Any help with this will be appreciated..
Many Thanks..
Al
Hi Jose,
First thanks for the plugin. I’ve been looking for this kind of ‘solution’ and out of the blue, your plugin came!
However, I couldn’t get your plugin to work. It always unable to verify the sub-domain although I can check the presence of your image checker manually (like you wrote in several comments above).
Any idea why?
Hi Jose,
I think I got what my problem is. Apparently my hosting provider installed some security thingy which turn off or disabled the get_headers() function.
I made a simple PHP script to check this, and the result is like this:
Warning: get_headers() [function.get-headers]: URL file-access is disabled in the server configuration
Warning: get_headers() [function.get-headers]: This function may only be used against URLs
Now I need to find a way to enable the get_headers() function
Hi José,
I read about your plugin today and totally jumped on the idea. However, I had quite some problems getting it to work and would like to suggest the following:
After my experiences with the plugin, I think you might be right to assume everything works out fine (most of the time), if users have shared hosting accounts which they have access to using the mentioned hosting panels like cpan,… I have a root server with shell access and not a hosting-panel at all and this way, things get different…
I guess you assume people create a “subdomain” (it’s not, actually!) using a panel which installs a new folder on the same machine as the blog, set’s up DNS service for it, activates apache for it and so on.
After reading the docs, what I did was: set up DNS cnames for the new hosts (which in fact your “subdomains” are) and add those names to the virtual host config of my apache for the blog. I think this makes perfect sense, saves clutter on the server and would suggest you add support for this to your plugin.
What happened was: upon activation of the first subdomain, my blog was busted, because the plugin replaced the .htaccess with it’s own.
But even with changing that back and implementing your additions to my .htaccess, I was not able to get a subdomain to work this way.
After reading this page and some of the posts, I came to the conclusion that I need at least one additional vhost for this and that got me started.
But still, some more things to mention
It’s anoying that Parallel Loading System (PLS) makes backups of it’s own files all the time, although there are no changes… and I think it knows about that, because it is able to tell that files are out of sync.
Please make it clearer, what you want to be entered in the “Subdomain”-Field. A host or subdomain has no “http://”, that’s an URL, but the examples have it…
Your plugin requires two apache plugins activated on the server. Unfortunately, it does not protect the user for problems with those missing. Although mod_rewrite is very common, especially with WordPress, I think, mod_headers is not…
If you embed your configs in
…
there would be no errors on servers not running the plugin ModRewrite. (Sorry, don’t know how this should read for mod_headers). As The Header-Mod is optional, this would be a great plus!
Deleting subdomains that do not work is a pain, as the “remove” button seldom visible.
May I suggest to add to the documentation, that the subdomain is basically working, if you are able to retrieve
http://subdomain.example.com/wp-content/plugins/parallel-loading-system/check_headers.jpg
The plugin asumes that blog and “image-server” reside on the same machine. But with big hosting environments, you can not be sure on this…
Okay, enough of the rant. Thank you the plugin with this new, fresh and interesting twist to performance optimisation.
Regards from munich
Jochen
Hello Alonso,
Thank you for your feedback.
The example I gave was in a situation where your blog is not installed on your root apache folder. Lets say, my blog was not installed on apache root folder and was installed on a folder called myblog. The URL to my blog would be “http://www.joseairosa.com/myblog/”.
So if you have your wordpress installed on other folder try to specify on load_image.php.
Please let me know if you need further clarification.
Hello TP,
Thank you for the feedback.
Can you tell me what sub-domain you’re trying to add?
Also, this is normally a result of having a system variable disabled (allow_url_fopen).
Can you access that script you created and add this
echo ini_get('allow_url_fopen');Let me know what is returned. I will had a check for this on next version
Hello Jochen,
Thank you very much for your insight! It’s great to have this kind of feedback.
I will had the option of creating a backup file optional, lets say, you are notified that a script file is out of sync and if a need for backup is detected I will add a middle step that will let you choose if you want to back it up or not.
I was also in the process of developing a backup manager system that will let you, directly from the plugin control panel, manage all you backups and delete/restore them at any time.
What do you think?
————
I’ve been testing this on my local installation and it’s only creating backups when it finds a miss-synchronization. Can you explore this situation a bit more?
————
Yes I know that you can manually create a sub-domain directly on your apache configurations and you’re 100% correct.
About the virtual host http.conf file, it’s a great idea. I just need to further investigate since the system that is actually installed will not let me change virtual host config file directly from PHP.
————
This is probably because your sub-domain DocumentRoot is pointing to the same DocumentRoot of your domain. Please let me know if my conclusion is correct.
If this is the case a backup should have been created of .htaccess (wordpress htaccess).
I will be adding the functionality to append to .htaccess instead of replacing it if it detects that the .htaccess is WordPress own .htaccess (this should resolve the problem when you are using the same domain and sub-domain DocumentRoot)
————-
I will also had compatibility checks to mod_rewrite and mod_headers, already got it for next version
————-
Can you explain a bit more this situation?
————-
I will be adding that information to the documentation, thank you!
Best regards Jochen,
Looking forward to your reply!
Hi Jose,
I’ve sent you an email describing the issue that I’m facing, in detail, at hte email address which you mentioned above :- me [at] joseairosa [dot] com.
I hope that’s the correct address and you got my email. If you’ve got my email, then I’m waiting for a reply anxiously! Just wanted to confirm once.
Thank you,
Viki.
Hello Viki,
My email is correct. However I didn’t get any email yet. Not in spam also.
Hi José,
>>Can you also check, when you open, let’s say, http://my-sub-domain/wp-content/plugins/parallel-loading-system/check_headers.jpg and see if you get a 200 OK or a 404 NOT FOUND.<<
I get a 200OK.
If you release the new version next week or so, I am definitively will install it.
Regards,
Patrick
Hello Patrick,
I will be releasing a new version today if all goes well.
If anyone uses twitter you can follow me http://twitter.com/joseairosa. I’ve been twitting the plugin development
Hi I installed the plugin, it was a bit difficult to get the sub-domains to work correctly i.e. the plugin to recognise that I put the sub-domain, but after persisting i did eventually get it to work.. My concern or problem that i discovered was that I also use a plugin called “simple View” which has a neat way of zooming up an image, BUT when using Parallel plugin, it made the simple view plugin change the bounding box apperance and also it’s size and also the size of the image was only half of the box and the zoom function was also affected.
I’m not looking for a solution, more to let you and others know about this. If you do have a solution that would be great, because for straight forward loading of a website the plugin works fine..
Cheers
Rene
Hello Rene,
Thank you very much for your feedback.
In what way do you feel the sub-domain process would be simpler or faster?
About that plugin I will download it and apply a fix so that they become compatible.
Let me know if you have any questions or require additional support!
Jose, thank you for your support, but still doesnt work, I’ve tried many ways and still its not working. I have noticed that once I hit the button it does creates an .htaccess file in the subfolders that im trying to add and another load_image.php file, i have tried to edit the path there as well and still didnt work, do I have to edit this load_image.php in the subfolder as well or only in the plugin folder or both? my w instalation is basically just after my domain name, http://www.mydomain.com/blog/
any suggestions? will appreciate as really trying to get it work, Im also using go daddy as Viki if it helps if i got it set it up wrong from the first place..
Tnx..
A.
Hello Alonso,
Lets try to get it to work
If you’re editing the files manually you’ll need to do it on both plugin folder and sub-domain folders. This however is the plugin main job.
If you can wait until tomorrow I’ll be releasing version 0.1.3 in which I improved all the plugin greatly.
Viki contacted me by email and I gave her some directions. Still waiting on her reply.
Thanks for your patience.
Cool.. Many Thanks Jose you’re a star… I’ll try to follow otherwise will wait..
Hi José,
thanks for the reply!
> Hello Jochen,
>
> Thank you very much for your insight! It’s great to have this kind of
> feedback.
The least thing to give back for what you did for the community!
> I will had the option of creating a backup file optional, lets say, you are
> notified that a script file is out of sync and if a need for backup is
> detected I will
> add a middle step that will let you choose if you want to back it up or
> not.
That’s better, but still no real help if you have need for the .htaccess anyway, because PLS will not know that the settings are in place in a combined .htaccess and would always try to install it’s version.
> I was also in the process of developing a backup manager system that will
> let
> you, directly from the plugin control panel, manage all you backups and
> delete/restore them at any time.
>
> What do you think?
Much better, but see above, The backup manager is a good idea, but generally I would recommend having the needed code for a .htacess file which could be inserted into an existing one, creating one if none is there.
PLS should be able to recognise, if it’s settings are present in an existing .htaccess (use sort of start/end comments to recognise if they are there).
You could offer to replace those settings in any .htaccess-file with the original ones.
BTW: .htaccess is another requirement of PLS at the moment, which is not always available.
> ————
>
> It’s anoying that Parallel Loading System (PLS) makes backups of it’s
> own
> files all the time, although there are no changes… and I think it knows
> about that,
> because it is able to tell that files are out of sync.
>
> I’ve been testing this on my local installation and it’s only creating
> backups
> when it finds a miss-synchronization. Can you explore this situation a bit
> more?
I set up one vhost with one correpsonding folders for five PLS-Subdomains. For each “add-process” of a new subdomain, there was a backup of the .htaccess and the load_image.php. PLS was not able to find my document-root, perhaps that’s it?
I had some problems getting started with several subdomains having to be entered over and over again which all gave another backup.
Setting up a new domain gave me sync errors with the older ones pointing to the same folder, resulting in more backups.
> ————
>
> Yes I know that you can manually create a sub-domain directly on your
> apache
> configurations and you’re 100% correct.
> About the virtual host http.conf file, it’s a great idea. I just need to
> further
> investigate since the system that is actually installed will not let me
> change virtual host
> config file directly from PHP.
I don’t think any hosting environment will or should allow this! Just support this in the Plugin-backend and make the basic requirements clearer in the docs.
I would strongly vote for a version that hosts the pls in the same apache vhost instance as the blog!
>
> ————
>
> What happened was: upon activation of the first subdomain, my blog was
> busted, because the plugin replaced the .htaccess with it’s own.
>
> This is probably because your sub-domain DocumentRoot is pointing to the
> same
> DocumentRoot of your domain. Please let me know if my conclusion is
> correct.
Yes. That was a logical conclusion after reading the plugin description. As the docs pointed out, the plugin was supposed to not change the blog in any way…
But as I can easily point any subdomain to the same folder as the blog, where all the images reside anyway… why should I want anything else? For this setup, load_image.php would not be needed (still nice for of the Header-Mods, though), changing the image url were just enough!
> If this is the case a backup should have been created of .htaccess
> (wordpress
> htaccess).
That’s correct and I had no problem getting it back up. But you know, there was this sentence in the pi’s doc… will not change the blog in any way
>
> I will be adding the functionality to append to .htaccess instead of
> replacing
> it if it detects that the .htaccess is WordPress own .htaccess (this should
> resolve
> the problem when you are using the same domain and sub-domain DocumentRoot)
Great to hear. I think you are right… if getting the .htaccess to work, you can have the same doc-root for your blog and any subdomain.
> ————-
>
> I will also had compatibility checks to mod_rewrite and mod_headers,
> already got
> it for next version
cool. Please add it to the docs requirements. mod_rewrite is a must have, I think, mod_headers a nice to have.
> ————-
>
> Can you explain a bit more this situation?
>
> Deleting subdomains that do not work is a pain, as the “remove” button
> seldom visible.
I had several subdomains configured which had errors. In such a situation, or when you are editing/adding a subdomain, you will not get the remove-button. With many active errors it was troublesome to remove those.
i think I had to click “resolve” on each, add the doc-root and URL/Subdomain again and was only then able to click “remove”, starting over with the next.
All I would like to suggest is to have the “remove”-button available all the time, at least for inactive subdomains.
> ————-
>
> I will be adding that information to the documentation, thank you!
Please reconsider the use of the term subdomain. I think you are talking of hostnames or URLs.
> Best regards Jochen,
> Looking forward to your reply!
No problem, was a pleasure.
regards from munich
Jochen
Hello Jochen,
Thanks again for the feedback, much appreciated.
I just released a new version of the plugin which should address most of the issues that you notified. Could you please take it for a “ride” and let me know what you think?
You and everyone else can find the changes on the plugin page on WordPress plugin repository.
http://wordpress.org/extend/plugins/parallel-loading-system/
PS: I had a problem with PHP apache modules function. Some systems might not have it installed so I need to work on a workaround.
Looking forward to your reply.
Hi, I am using ur plugin and is indeed made my site fast! The only issue I have is that it’s not displaying the post thumbnails on the single posts.
Hello Manoj,
Thank you for the feedback.
Could you paste here the link of the images that you’re talking about? It might be needed to make a specific adjustment to the code.
Looking forward to hearing from you.
[...] http://www.joseairosa.com/2010/05/17/wordpress-plugin-parallel-loading-system/ [...]
Hello there!
Tried and installed this plugin, really nice idea. Problem is, it creates 404 errors. Not always but sometimes.. the image src is:
http://img.fragadietisten.se/http://fragadietisten.se/snurkify/wp-content/uploads/2009/04/svimma-300×225.jpg
That is.. Sometimes this plugin makes links that include both the subdomain and the real site.. when the URL should be something like: http://img.fragadietisten.sesnurkify/wp-content/uploads/2009/04/svimma-300×225.jpg
Maybe this is easy to fix? Or maybe it is an intervention with other plugins?
Erik
Sorry, the URLs are:
http://img.fragadietisten.se/http://fragadietisten.se/snurkify/wp-content/uploads/2009/04/svimma-300×225.jpg
and
http://img.fragadietisten.se/snurkify/wp-content/uploads/2009/04/svimma-300×225.jpg
respectively
Main site url being http://www.fragadietisten.se
damnit.. seems like your site automaticly enters “http://img4.joseairosa.com/” in my comments without me writing it??
Hello Erik,
Thank you for the feedback.
About the posts it’s the plugin itself that changes the links. I’m looking into it to avoid it to change on comments, this is a known bug that will be fixed! Sorry.
As for the links that you showed me, the plugin will make the choice of loading the images internally or externally depending on if they are hosted on your domain or if they are hosted externally.
On the options, if you choose Simple Method all images will be loaded externally, if not they will be loaded using the concept above.
http://img.fragadietisten.se/snurkify/wp-content/uploads/2009/04/svimma-300×225.jpg, this link is working properly.
Are you running the latest version?
Im was on 0.1.4 and just upgraded til 0.1.5, when doing this I got this message “I’ve detected that the original script file didn’t have your correct root path. This has been fixed
”
Maybe this will fix the error?
Hello Erik,
This functionality has been implemented since version 0.1. The changes I made to the plugin on this new version might have resolved the problem you’ve been experiencing.
Can you please test it a bit further and if you find any issues please report them I’ll fixed them asap.
Thank you for the feedback
[...] phải hosting nào cũng có thể cài đặt thành công. Tuy nhiên bạn có thể vào đây để được hướng dẫn chi tiết [...]
once i view the img1.website i see *.bak and php file. can i put in a index.html or this would be great add on. how about a index.html to redirect back to the main site. since people can view the folder content.
Greetings, and thinks for the time you’ve put into this. I’m getting a 404 from my subdomains, img1, img2, img3. Was hoping you could have a look, and thanks again!
helloscout.la
Hello 256studio,
You sure can and it’s a good suggestion. I will check it for next version released
Thank you!
Hello John,
Thank you for the feedback,
I have checked your website and it if you’re getting too much trouble configuring active the simple method as it’s working that way: http://img1.helloscout.la/http://helloscout.la/wp-content/uploads/2010/04/PAGE_PREVIEW.jpg
Can you tell me if you’re running on a Plesk system or if your sub-domain folder is located outside the apache root folder?
José, not Plesk (cPanel Accelerated2), and the sub-domain folders are located in the html_public directory.
I’ll try the simple method for now, but if you have any other ideas I’d love to hear them.
Kind regards.
Hello John,
I will add html_public on search folders for the plugin. Thanks John.
Are you still having problems in running the plugin? If you are under basepath restrictions you won’t be able to run plugin out of Simple Method. I’m sorry but that’s a security restriction imposed by PHP itself.
Hi Jose, Using WP 2.9.2 with wp-supercache enabled it’s adding random characters to the end of the image url e.g.
img1.domainname.com/image.jpg&t=b180bd826c9bdb89ce5cbdc6a347fcbc
Any ideas?
I’m using Version 0.1.6.1. Thanks for the work on the plugin!
Hello Jeff,
Thank you for the feedback.
The characters are created and added by the plugin itself. It’s a way to make sure the cache is coherent and improves caching on the browser point of view.
It’s a query string that will not (should not at least ^_^) mess up image rendering.
Just on a side note, those characters are the md5 encryption algorithm of the image name.
[...] subdomains. Plugin Desc: http://wordpress.org/extend/plugins/parallel-loading-system/ Plugin Site: http://www.joseairosa.com/2010/05/17/wordpress-plugin-parallel-loading-system/ Author Site: http://www.joseairosa.com/ VN:F [1.9.1_1087]please wait…Rating: 0.0/10 (0 votes [...]
Follow up on the characters getting added to the end of the images. The images do not load when the random characters are added in. Do you think this is an apache or permission problem?
Thanks!
Hello Jeff,
It’s really strange that the cache code is breaking the image code as it’s only a query string. It should not mess with the request itself.
Could you please add the image link here so that I can debug the issue, thank you.
Hello, Jose. John again. I’m using your plugin on a client site, and they are on MediaTemple (dv), with the Plesk control panel. I’ve managed to get the plugin working in theory, in so much as I’m getting the 200OK message back from the subdomains (in simple mode). However, when checking the site the images are coming up missing:
http://whitemike.org/wmwp/
Would appreciate your thoughts on the issue, and thanks again!
Hello John!
From what I checked the problem seems to be related with the fact that there is no www. on the URL… hum… didn’t see that one coming eheh. I will release a fix for this on the next version.
As you can see, if you change http://whitemike.org with http://www.whitemike.org the image works fine.
For the time being you can add the www. manually until the fix is out.
Thank you for the report John and I apologize for the problem.
Wow, a real surprise! haha…
I’ve had to disable the plugin. Using an .htaccess mod to the URI was messing with things, so I hope to be able to implement your plugin once there’s an update. Thanks for the work, it’s a great utility!
is it working with dramhost shared hosting? because when i install it, it can’t find the subdomain, i simply added it manually after creating it, and it can’t find it. i suspect dreamhost security cause it since I already dealt with some host and cpanel is much simpler, dreamhost got tons of apache modification that WP PLS can’t read, however if you manage to get it working on DH or got experience with PLS on DH, please mail me. thanks.
Hello lintang,
I will do some research on DH to see if there’s something that might be done to overcome the issue. Thanks for you patience!
Hi,
Very beautiful plugin.. i’m really very thankful for your work for all of us.
I’m working on website and recently i noticed your plugin is interfering with drop-down menu (or plugin called Menu Manager) when your plugin is active only main menu is shown, no sub-pages links which actually loads when your plugin is inActive.
Kindly please look into this issue. also i have tested this with Concept-X Theme’s inbuilt menu, same thing is happing with menu with no child-menus..
Hello Yashodhan,
Thank you for the feedback and nice words
I will install the plugin Menu Manager and see what is going on. I will try to release a fix for it today or tomorrow.
Please confirm this is the right plugin: http://wordpress.org/extend/plugins/menu-manager/
Thank you for reply..
Here are details what am using on my blog -
1] Menu Manager – Version 1.0.4 | By Sulaeman
http://bit.ly/cQH1iu
2] (Theme) Concept X – Version 1.1 | By Phi
http://bit.ly/9f66hI
3] Other Active Plugins on my blog -
Akismet – Version 2.2.9 | By Matt Mullenweg
Connections – Version 0.7.0.2 | By Steven A. Zahm
DTM jQuery Calendar – Version 1.2.1 | By Kevin Lanteri & Nicolas Bui
Google XML Sitemaps – Version 3.2.4 | By Arne Brachhold
Graceful Email Obfuscation – Version 0.2 | By Nicholas Wilson
GZIP Enable – Version 0.2 | By Teguh Aditya
News-Ticker – Version 2.0.0 | By Daniel Sachs
Special Text Boxes – Version 3.5.44 | By minimus
Wordpress Download Monitor – Version 3.3.4.1 | By Mike Jolley
all this running on top of WordPress – Version 2.9.2
I hope this will help you to figure out what went wrong.. even i can keep my site on with your plugin enabled or i can also share my login details with you.
Please let me know if you need anything else..
May Nature bless you..
Yashodhan,
Thanks a lot for the information provided! I’m 99% sure I can fix the issue with the information you just provided. If I happen to need actual access to your server I will contact you via mail for privacy reasons.
Once again, thank you for the support given.
Hi,
just installed your plugin, I have a slight problem : I am using PLESK my server setup is this
/srv/www/vhosts/example.org/httpdocs
/srv/www/vhosts/example.org/subdomains/data/httpdocs
that means my subdomain directory is outside the httpdocs
what can I do in this case ? Any chance to get your extension running ? The plugin just does not find my subdomains …
regards
JOe
Hello Joe,
In your case you need to activate simple method.
Plesk configuration is protected behind the open_basedir restriction.
Let me know if you require additional assistance.
Yashodhan,
I was not able to reproduce the problem on my side. Even with the Menu Manager Plugin. It might be a problem with the layout, however, I’m not able to test it because the theme is premium.
If you could please email me some more details so that I can fix this?
Thank you!
Hi Jose,
thanks for your help, I just activated the simple method, but I still get the same error message … any ideas ?
rewgards joe
Hello Joe,
Strange that it is not working. I just tested on my other server that has a Plesk CP and everything installed with no problem.
Is it possible for you to give me the link to your Blog? Contact-me via email with this information if you can. me[at]joseairosa[dot]com
– EDIT –
On a side note. When you activate Simple Method you need to manually drag&drop both .htaccess and load_images.php form your parallel-loading-system folder to every subdomain root folder.
Unfortunately this the only way
Hi,
just sent you a mail with the details
regards
Joe
Hello Joe,
Sorry for the late reply. Look at your inbox.
Best regards.
Hi Jose!
I have the same mentioned problem with dreamhost. I tried to manually specify my root blog folder by editing load_image.php, but it always gets overwrited with path ‘/’ when trying to add a subdomain.
Any ideas about this issue?.
Thanks in advance.
Hello DogDay,
Still working on getting Dreamhost to work. Last few days have been a bit hard with a near release of my new plugin and this one.
Should have updates on the next few days!
Please hold on =)
Holding on !
Hello
Great plugin! Can I suggest that you update instances of ‘&t’ to ‘&t’ to ensure xHTML compliance?
Secondly, I want to exclude any images loaded via a PHP extension. I use a thumbnail plugin that stops working when I use PLS. I end up with links like this:
http://img3wdp.webdesignpeople.net/http://www.webdesignpeople.net/wp-content/plugins/simple-post-thumbnails/timthumb.php?src=/wp-content/thumbnails/43.jpg&t=68552ed0e7373b33739577e846cf8eeb&w=878&h=401&zc=1&ft=jpg
These do not load so I want to prevent PLS from attaching itself to any image sources which point to a PHP file.
cheers
Anthony
Eh, in my last comment the html entity ampersand was rendered as ‘&’. Hopefully you understand what I mean.
Hello Athony,
Thank you for your feedback.
I will take a look at the ampersand, good suggestion.
A few versions ago I added support to timthumb directly without the need to “exclude” images. I will install this plugin on my development blog and check why it’s not working properly.
DogDay,
I will address this issue this week. I apologize for the time taken but these have been kinda complicated weeks at work
No problem, Jose. Thanks.
Hey ! Jose:
With the last update of the plugin everything seems to work with DreamHost now.
Time to test and see how it improves the whole thing.
Thank you very much and keep this good work.
great plugins. but when I add subdomain.my site dosnt load images anymore. the image is located sub.mysite.net/thumbs,,,, is this path a problem?
[...] original post here: WordPress Plugin – Parallel Loading System | PHP, CSS, HTML, Web & beyond Tags: optimization, performance, [...]
Would be possible to have css and javascript parallelize in addition to pictures?
test
Hello Gabe,
Yes, I am also working on that.