shift8
Forum Replies Created
-
Forum: Plugins
In reply to: [Shift8 CDN] Bandwidth finished what happens?So you’re telling me that if my site uses 2TB of bandwidth in a month with the free plan the CDN service will continue to provide the service, right?
For now , yes. We are anticipating a policy change that may include an increase in the free bandwidth limit among other changes. At this point we are prioritizing ensuring everyone is happy with the service first and foremost while filtering out potential abusers of the service obviously.
BUT I will receive notification if my website will use a lot of bandwidth
Yes indeed!
also I see the free plan has “2 URL limit” what it means ? 2 websites ? or 2 url from 1 website?
With the free plan , you may have up to two websites (two urls) to use with the CDN. The assumption being that the two URLs are separate sites obviously.
Hope this helps!
Forum: Plugins
In reply to: [Shift8 CDN] Problem with Images/MediaOh also can you please paste the entire contents of your .htaccess file in the root folder but also if there is other htaccess elsewhere (i.e. wp-content, uploads, etc)
Forum: Plugins
In reply to: [Shift8 CDN] 400 Bad RequestHello,
Can you please fully clear your browser cache and try again? Also try another browser and please confirm if the issue persists.
Thanks!
Forum: Plugins
In reply to: [Shift8 CDN] 400 Bad RequestHello!
The test URL works for me! Is it still not working for you? Can you please clarify which Country you are in where you are checking the URL, if it indeed is still not working?
Thanks!
Forum: Plugins
In reply to: [Shift8 CDN] Bandwidth finished what happens?Hello!
This is a great question and please understand that our service is only 1 year old and we are working out a process to work with all of our users (free and paid).
The idea is to perhaps keep an eye on your bandwidth and determine if it makes sense to upgrade. Right now an automated function to auto-disable sites that exceed bandwidth is not in place. We see no abuse of our services currently so there is no urgency to change this policy.
The motivation, for us, is to get a notification if someone generates 50TB of traffic on a 1TB free plan. Obviously that level of bandwidth usage is unacceptable for us , providing a free service especially.
In the future we may provide an option to not necessarily upgrade to a $5/month plan but purchase a bandwidth limit increase only for a much lower cost. Also we’re open to suggestions, if you have any ideas!
Thanks
Forum: Plugins
In reply to: [Shift8 CDN] Problem with Images/MediaHello,
First of all, I should say that the Plugins List generated by the “Support” tab in your Settings page is very misleading because it is labeled “Active Plugins:” when it is a list of “ALL Plugins“, Active as well as INActive!
Yes your right that is misleading. I’ll see if we can split off a list of inactive/active plugins in a future version update.
Don’t focus too much on “W3 Total cache” !
Ok – keep in mind my visibility is limited and I have to methodically rule out potential issues in order to help you out.
Quick question – is this a WordPress multisite?
Finally, as far as I’m concerned, I really can’t see any plugin that can do some sort of “lazy loading” of images.
Hope this will fulfill your request.
Wordpress 5.5 builds this into the system , FYI, from what I understand. There are plugins that inject libraries to do this potentially without you being fully aware. Again, trying to methodically rule things out as best as I can in order to support you.
Please let me know if you are using multisite.
Forum: Plugins
In reply to: [Shift8 CDN] Problem with Images/MediaAlternatively you could switch the “off” switch for the Shift8 CDN settings page and add the CDN url to the CDN section of W3 Total cache. Since at this point there are multiple plugins handling asset rewriting on your site, it might be more efficient if W3 Total cache handles the rewrites to our CDN for now. This is an alternative solution if my previous message produces no feasible results.
Forum: Plugins
In reply to: [Shift8 CDN] Problem with Images/MediaHello,
If I understand you well, the code in the “.htaccess” file is not required?
If it is present, is it superseded by the code in the plugin?
In other words, does the code in the plugin have priority over the code in the “.htaccess” file?The htaccess may be more efficient, but for the purposes of troubleshooting, please comment that out and let the plugin handle the rewrites directly.
As you can see, all “.css” and “.js” are successfully catched, “.gif” are partially catched and “.jpg” are NOT catched at all.
Maybe you can help break down how these images are loaded on the page:
- https://www.sylver-tech.com/test-01/wp-content/uploads/weather-station-small.jpg
- https://www.sylver-tech.com/test-01/wp-content/uploads/smartherm-pci-3-0.jpg
Are you able to confirm that you aren’t using any sort of “lazy loading” of images in any caching plugin, or post grid or anything of that nature? Our plugin cannot rewrite images that are lazily loaded.
For example W3 Total cache has options to enable lazy loading of images : https://www.boldgrid.com/support/w3-total-cache/configuring-lazy-loading-for-your-wordpress-website-with-w3-total-cache/
If this is enabled and disabling this resolves the problem, I’ll spend efforts at figuring if there are workarounds to this. At the original time of the plugin’s development, there was no easy way to rewrite images that are lazy loaded simply due to the nature of how lazy loading works (jQuery + ajax query after a page is loaded to update the DOM with images to make the page appear to load faster).
Please let me know if I am on the right track.
Thanks!
Forum: Plugins
In reply to: [Shift8 CDN] Problem with Images/MediaHello!
Besides, when I registered a 2nd “Pull Zone” for the “Test-01” site, a new CDN URL was issued (https://rmtz4odwfzo1.wpcdn.shift8cdn.com), but this new CDN route was not added anywhere in any .htaccess files.
So, I don’t know if it’s OK, and if so, I don’t know how the assets of this secondary site can find its route???The rules at first glance look right either way. The rewriting that happens in our plugin is in the code actually where it is detecting and rewriting all the urls that match the file types specified (media,js,css,etc).
Finally, amongst all the site’s pages, there are not much media files that succeeded to be served by the Shift8 CDN, but over time, one thing that I observed is that the only files that succeeded have one thing in common: they all had “brotli” as “content-encoding“. Never saw other “content-encoding” formats. Besides, “.css” and “.js” files had other “content-encoding” formats, namely “gzip”, etc.
When a url actually goes through our CDN, it should have brotli compression enabled by default. This is likely why you are seeing that header.
Just looping back to the originally reported problem, you mentioned that one image would go through the CDN but then the remainder are not? Can you give me an example page where this is happening as well as the file names that it is working and not working?
Forum: Plugins
In reply to: [Shift8 CDN] Plugin crashed my site using generatepress themeHello!
I’m very sorry to hear this. I’d like to be able to troubleshoot why that may have been happening. If you could indulge a few questions for me to better understand :
- Can you navigate to our plugin’s SUPPORT tab and paste the debug info here?
- Can you please provide a URL for the TEST cdn url (located in the main wordpress settings page for our plugin). If you cant get that, please provide the site URL in question
My guess is the site url was not set correctly in our CDN and all the URLs trying to fetch from your server were broken, which would break the site in a way that you are describing.
Once I have more information I can comment further.
Thanks!
- This reply was modified 5 years, 10 months ago by shift8.
Forum: Plugins
In reply to: [Shift8 CDN] Problem with Images/MediaSylvain,
First of all thank you for the kind words!
Second of all thank you for doing the legwork of ruling out the simplest root causes for this issue.
The plugin rewrites all applicable media files in the rendered HTML in this case to go through our CDN. The media files should be including :
'jpg|jpeg|png|gif|bmp|pdf|mp3|m4a|ogg|wav|mp4|m4v|mov|wmv|avi|mpg|ogv|3gp|3g2|webp|svg'So whats happening is some media files are not being routed through our CDN? This could mean that another plugin is interrupting or circumventing the above file extension rewrite to change yourdomain.com/wp-content/uploads/file.jpg to go through the CDN url.
If I had to guess, maybe a plugin like “Rename media files” could be the culprit?
Alternateively what I would do is lets zero in on one media file thats not being rewritten to go through the CDN. Focus on that one media file thats not working (so long as its in the above list of media files).
Then disable each plugin one by one and see if it ever starts working. To prioritize things, if I had to guess, you could start with these plugins to disable (hopefully to save time) :
- Autooptimize
- Enable media replace
- Media file renamer
- Network media library
- Rename media files
- WP Optimize
If none of those resolve the problem, then run through the rest of the plugins one-by-one. I would be sure to clean the cache of a cache based plugin prior to disabling just in case the deactivation of those plugins doesnt auto clean cache.
You can hopefully appreciate how difficult it is to avoid these types of conflicts with WordPress plugin development in general. If we do isolate a plugin that is causing it , please let me know here. I can give it a shot to see if there is any custom workaround that can be implemented for this particular scenario. If you dont need the plugin or its not integral, even better! Just leave it deactivated 🙂
Again I dont mind helping with this diagnosis , if you run into trouble just pass some admin credentials to the test site to the email above.
Hopefully we get this resolved for you!
Forum: Plugins
In reply to: [Shift8 CDN] 400 Bad RequestHello – just going to close this issue. If it persists feel free to open a new issue or email us directly at [email protected]
Thanks!
Forum: Plugins
In reply to: [Shift8 CDN] 404 Bad RequestHello!
It looks like you added and deleted the site. Based on the screenshot you are using the API key and the CDN prefix from the first time you set up the account.
I will email you the proper settings to set in your wordpress dashboard, or you can login to shift8cdn.com directly and re-confirm the setting.
Thanks!
Forum: Plugins
In reply to: [Shift8 CDN] image could not be foundHello!
Just going to close this issue for now. Feel free to reply if its still happening or email us directly at [email protected] and we can help further.
Thanks!
Forum: Plugins
In reply to: [Shift8 CDN] 400 Bad RequestHello!
I am sorry that you are having problems. I am able to load the test URL for your CDN installation here :
https://4wco9ui7fqyw.wpcdn.shift8cdn.com/wp-content/plugins/shift8-cdn/test/test.png
Can you give me a specific example of a URL that is generating a 400 bad request error?
Thanks!