Forum Replies Created

Viewing 15 replies - 361 through 375 (of 397 total)
  • Plugin Author shift8

    (@shift8)

    Hello!

    Your site is deactivated. Its encouraged to save the api key offline in case this happens, but there are plans to make a simple web based dashboard to be able to do this as well as see bandwidth usage and whatnot.

    Thanks!

    Plugin Author shift8

    (@shift8)

    Hello!

    Your site is deactivated. Its encouraged to save the api key offline in case this happens, but there are plans to make a simple web based dashboard to be able to do this as well as see bandwidth usage and whatnot.

    Thanks!

    Forum: Plugins
    In reply to: [Shift8 CDN] CORS Issue
    Plugin Author shift8

    (@shift8)

    Hmm.. this is an interesting problem.

    We should be adding the “Access-Control-Allow-Origin” header to all proxy requests to your origin site however – but your saying this is a server configuration on your server’s side that is blocking the request?

    I like the idea of giving options in the wordpress settings page to select which media you want included in the CDN. Alternatively you can add the CDN url to your access-control-allow-origin headers of your server? If I am misunderstanding please feel free to email the details for me to see the error to [email protected]

    I’ll look into the options to select which media either way because I see the benefit in your scenario to having that control. I’ll try my best to push out an update this week or early next week at the latest!

    Plugin Author shift8

    (@shift8)

    Jared,

    This plugin was designed specifically for wordpress static and media files. This means that the CDN system expects certain paths or file extensions within the WordPress URI structure (i.e. wp-content/uploads, etc).

    It wouldn’t be too difficult to have another version of this CDN for naked domains, or other CMSes like Drupal for example.

    The focus , for now, will be WordPress sites. The way we are focusing on static/media files allows us to expand the free service at a certain rate of growth. If we allow CDN of any domain for any url , I feel that we would grow too fast. In the future we definitely would consider this so if you signed up for the service we would definitely announce it to all members when it is available.

    Thanks!

    Plugin Author shift8

    (@shift8)

    Hello!

    We definitely need to automate a mechanism to reset the API key. This would likely involve activating your CDN via an email notification after first registering.

    For you I have deactivated your old site. You can register as if its a new site now and it should work. Until the feature can be added, its recommended to keep your api key safe in case it happens again.

    Thanks

    Plugin Author shift8

    (@shift8)

    Yes indeed – sorry about that! The cert is renewed and we will switch to a standard cert moving forward.

    Plugin Author shift8

    (@shift8)

    Thanks for the suggestion!

    We are also considering an option to manually set the cache control headers to specify cache expiration times. All of these options would definitely be helpful.

    Since this is a free service , we have to grow slowly and steadily in proportion to demand increasing.

    Thanks again for the suggestion.

    Forum: Plugins
    In reply to: [Shift8 CDN] CDN space
    Plugin Author shift8

    (@shift8)

    This is free because we are leveraging existing infrastructure that we have for our managed hosting services.

    Its free and will always be free. There might be value added services such as web application firewall and perhaps full site caching (instead of static elements) for a fee, down the line.

    As far as space, we are bypassing certain elements and features such as gzip compression and optimization of images if they are above a certain size (just because of processing power it would take).

    Where things like restrictions might happen is in a scenario where people take advantage of the free service and use it for malicious purposes. We have tried to take measures to prevent or discourage this but hopefully that wont happen!

    Plugin Author shift8

    (@shift8)

    Great question!

    I believe static assets are cached for 10 minutes before asking for a new copy. I’d have to double check that but we also send a header asking the browser to locally cache the file for 1 day.

    Best practice when dealing with CDNs is to simply increment the version query string for your static CSS/JS file.

    If you are are enqueuing your script in your theme’s functions file, you can read this page to learn how to add a version query string to your file : https://developer.ww.wp.xz.cn/reference/functions/wp_enqueue_style/ (there is a $ver variable you can set).

    If the CDN sees the query string requested for the file change, it will consider it a new file and fetch it like its a new filename. If for some reason this doesnt happen, let us know!

    Plugin Author shift8

    (@shift8)

    Fantastic – no worries at all.

    Plugin Author shift8

    (@shift8)

    Ok I’ll look into either option. The honouring of expires headers may be easier because we wouldnt have to build in the extra custom option into our configuration management system but this is definitely a good idea and would give people more options. I’m sure there are other options to provide as well once we go down this route.

    Plugin Author shift8

    (@shift8)

    Steve,

    This is interesting and the metrics from GTmetrix may be interesting to look at. Would you mind sharing the differences w/ GTmetrix?

    For the first few requests to the CDN, you have to give it a chance to cache the requests and response. The very first requests after enabling may appear to be slower and then subsequent requests return content directly from the CDN.

    You can see this before/after by validating the response header :

    X-Shift8CDN-Cache HIT

    My theory is possible the first requests weren’t cached? I’m glad the google page speed proved to be beneficial as well. We are looking at economical ways to improve and expand the CDN , which is always a challenge as this is technically a free service 😀

    Plugin Author shift8

    (@shift8)

    Hello Steve,

    Are you interested in being able to define custom expires headers for your content? Or would you want us to somehow honour what your server may be setting (i.e. 90day) ?

    Thanks

    Plugin Author shift8

    (@shift8)

    Great! I’ll close this issue now

    Plugin Author shift8

    (@shift8)

    Ah – my mistake. Try one more time? Apologies..

Viewing 15 replies - 361 through 375 (of 397 total)