Forum Replies Created

Viewing 15 replies - 196 through 210 (of 397 total)
  • Plugin Author shift8

    (@shift8)

    Hello and thank you for using our service!

    This is a good question. The short answer is technically yes it will work.

    If you try the CDN url :

    <your CDN prefix>.wpcdn.shift8cdn.com/readme.html

    If the default WordPress readme.html file is there, it will load and be cached via the CDN.

    Currently our WordPress plugin is not set to automatically rewrite any HTML static file url to go through the CDN simply because we didn’t think it would be something people wanted too much.

    If you are talking about HTML rendered output on the site, this system can only cache static files that are routed or rewritten to go through the CDN. This means images, css, font files and those types of things will go through the CDN and hopefully speed up your site.

    To just be a full on caching system we would need to route the ENTIRE site to go through the cdn, which would mean you would need to change your DNS to go through our systems. This simply isn’t possible at the moment.

    If I misunderstood the question, please let me know.

    Thanks!

    Plugin Author shift8

    (@shift8)

    Hello,

    Just marking this as resolved as we are now communicating directly via email. Tentative root cause in this scenario is the site was added with a trailing slash in our dashboard but in the plugin settings was added without a trailing slash.

    Plugin Author shift8

    (@shift8)

    Hello and thank you for using our service!

    So the CDN isn’t super smart – it just needs the URL and potential path of where to find static assets.

    For that test image, the system is just trying to pull a static test image. For example I tried the following two combinations based on the information you provided :

    https://www.bluenightingales.com/wp-content/plugins/shift8-cdn/test/test.png
    https://www.bluenightingales.com/cms/wp-content/plugins/shift8-cdn/test/test.png

    Both are not working in the above examples. So where is the path the wp-content folder?

    Plugin Author shift8

    (@shift8)

    Hello!

    Thanks for using our service first of all!

    I’m sorry to hear that you are having trouble. The site url has to be exactly what you entered in our dashboard system when you registered and added your site originally. Sometimes if you add a trailing slash “/” in one spot but not the other, it will not recognize the difference.

    If you want, please provide the screenshots without the censored fields to [email protected] and I can look further for you.

    Thanks

    Plugin Author shift8

    (@shift8)

    Yup – I admin I was too hasty in setting this issue as resolved. I try very hard to keep on top of all support issues for this plugin and unfortunately cannot undo when setting an issue as resolved.

    That said, if you do find to still have problems, I will personally open a new issue myself if need be.

    Thanks

    Plugin Author shift8

    (@shift8)

    Going to mark this as resolved for now but feel free to reply if you have any other questions.

    Thanks!

    Plugin Author shift8

    (@shift8)

    Just going to resolve this issue for now – feel free to update if its still happening or open a new issue.

    Plugin Author shift8

    (@shift8)

    Hey there!

    So I took a look into this for you and determined that something on your web servers side is blocking our CDN from pulling static assets.

    If I login to one of our CDN servers and just try to grab the test URL from your server directly, it times out. This may appear intermittent to you because its possible (depending on your geographic location) that you are hitting different CDN endpoints so some may work and some may not :

    ]# wget https://family.interplan.com/wp-content/plugins/shift8-cdn/test/test.png
    --2020-07-14 16:05:01--  https://family.interplan.com/wp-content/plugins/shift8-cdn/test/test.png
    Resolving family.interplan.com (family.interplan.com)... 107.180.26.178
    Connecting to family.interplan.com (family.interplan.com)|107.180.26.178|:443... failed: Connection timed out.
    Retrying.
    
    --2020-07-14 16:05:09--  (try: 2)  https://family.interplan.com/wp-content/plugins/shift8-cdn/test/test.png
    Connecting to family.interplan.com (family.interplan.com)|107.180.26.178|:443... failed: Connection timed out.
    Retrying.
    
    --2020-07-14 16:05:18--  (try: 3)  https://family.interplan.com/wp-content/plugins/shift8-cdn/test/test.png
    Connecting to family.interplan.com (family.interplan.com)|107.180.26.178|:443... failed: Connection timed out.
    Retrying.
    
    --2020-07-14 16:05:28--  (try: 4)  https://family.interplan.com/wp-content/plugins/shift8-cdn/test/test.png
    Connecting to family.interplan.com (family.interplan.com)|107.180.26.178|:443... failed: Connection timed out.
    Retrying.

    My guess is that perhaps your web host has a throttling mechanism in place to block too many requests from the same IP address. This could be a really sensitive denial of service prevention mechanism.

    Our CDN will request static assets and try to cache them so we dont request too much but for a busy site, especially if you are sending no-cache headers (you can check that), your web host may be thinking that our CDN is trying to DoS attach your site. They may not be able to tell the difference because from their perspective we are just requesting a lot of URLs for your site.

    I notice that you have a plugin called “Shield security” installed, lets start by disabling that first and see if that fixes your problem. If it doesnt fix your problem then I would recommend reaching out to your web host to see if they can elaborate if they have a maximum number of connections per second (or similar) threshold protection.

    Hopefully its just that “Shield security” plugin, sometimes wordpress security plugins aren’t that smart and cause more problems than they solve.

    Hope this helps!

    Plugin Author shift8

    (@shift8)

    Thanks for using our service by the way!

    Sometimes things like this can be pretty tricky to diagnose, as I’m sure you can appreciate.

    I took a look at your site and noticed that there are no CORS errors for me so I’m wondering perhaps you ended up being able to resolve this issue on your own?

    You can see a screenshot of one of the reported problematic URLs working in my browser : https://imgur.com/a/SJqj4Eb

    If there are still problems persisting let me know. We are setting the CORS policy on all CDN requests to include the main site url that you entered , which in this case would be http://www.newsgateny.com

    Thanks!

    Plugin Author shift8

    (@shift8)

    Sounds good! In some scenarios we may be honouring and reading that no-cache header so it might be best to just not send it at all and let us handle caching on the CDN

    Plugin Author shift8

    (@shift8)

    Hello,

    Please open a new issue and provide the domain/url exactly as you entered it. I will test to see why it might not be working for you at that point.

    Thank you

    Plugin Author shift8

    (@shift8)

    Hello,

    So the above link works in desktop but not mobile? Or does the direct post link work but the post is not showing up on a post grid page?

    If this post link doesnt show up in mobile, let me know what mobile device exactly as it works on an iphone X.

    Again its extremely highly unlikely that the CDN plugin is causing this type of behavior. All the cdn plugin does is rewrite links to images, css and js files to go through the CDN. That would not affect a post not displaying in this way unless something is wrong with jquery on the post landing page somehow that is causing that to break. Even if that were the case, the problem would be in the jQuery on your site , not the CDN.

    Thanks,

    Kevin

    Plugin Author shift8

    (@shift8)

    Hello,

    The CDN wouldn’t prevent a new post from appearing. The CDN will cache all static assets that help render the design and layout of your site, including images. However it is not a full page cache system in the way you may be expecting.

    I dont see it feasible that the CDN would prevent the post from appearing. However if , in wordpress, a permalink to the post thats missing is present, please share it here and I can take a look.

    Also, not familiar with “Clear cache for me”. You might want to disable that and any other caches you may have on the site. Once you confirm the post and url I can try to look further but again it is highly unlikely that a CDN that caches static assets only would be responsible for content not being rendered in this way.

    Thanks

    Plugin Author shift8

    (@shift8)

    Hello,

    When I found in one of the post that the backslash will result error when checking the CDN, I delete my site in the pull zone without disable Shift8 CDN, and I add new site, then enter the API key and prefix.

    Did I made mistake by doing that ?

    No not at all. You can delete the site in our dashboard but keep the plugin on your wordpress site. The plugin just needs to have the information in order to connect to our service (api key, site url, etc). You can re-set those and re-save whenever you like. It needs to match whats in our dashboard obviously.

    PS: I just run pingdom again. the load time seems to decrease
    Thank you so much

    Fantastic – thats what I like to hear!

    Thanks!

    Plugin Author shift8

    (@shift8)

    Yeah that plugin seems to be updating the version query string at the end of every static file on every page load :

    Every time the page loads , the CDN thinks its a new file and discards any previously cached version of the file. This “Prevent browser cache” plugin looks like its intended for site development to make it easier for clients to see a change that a front end developer may have made without worrying about them having to clear their browser cache.

    If not used properly, it is not ideal to have this type of plugin on a live production website. I would recommend deactivating and uninstalling this plugin as even without the CDN your site will run much slower because you are no longer leveraging browser caching at all, putting 100% of the onus of the site’s static files on your webserver only.

Viewing 15 replies - 196 through 210 (of 397 total)