free cdn for custom javascript and css files - iis

I am looking for a no nonsense free cdn solution for my iis/.net website where i could store all my custom javascript , css and fonts etc to increase my site performance.
Is there any good free cdn available for such purpose?

Go for CloudFlare (https://www.cloudflare.com), its free and very easy to setup (only takes few minutes to setup). Its works on DNS, so you don't have to do any code change as well.
thanks

Related

What are good options in 2017 for static web site generators/managers

I am starting a new project and am trying to think about how to keep the need for content servers for non-dynamic resources (articles, API info, etc) to a minimum... to that end I'd like to (possibly) use static web content wherever possible rather than have live web servers (nodejs, Wordpress,etc) and serve things up from S3 and CloudFront (or similar CDNs).
Looking over the obvious static generators like Hugo, Pelican, Jekyll, etc I see that in terms of activity they are all pretty inactive from a Github perspective.
Anyone have any suggestions about new tools I should look at, or if the current ones are all more or less equal, how well do they scale in terms of managing larger content collections? Or will, if my needs get big enough, will I basically have to capitulate an go back to more a more server-centric solution?
You might want to have a closer look at Statamic:
https://statamic.com
It's a CMS without a DB and allows you to output a static html page:
https://docs.statamic.com/caching

Angular SEO for a directory multi-language app

I am doing an angularjs app with a nodejs-expressjs server.
I want to do an app that it's similar to a business directory.
I have doubts about if it's possible doing it SEO friendly to the all items at the directory, either by his name or his features (tags). Always having in mind that all pages are created with AngularJS.
If it is possible, how to do that dinamically.
I implemented an example that uses prerender server (this https://github.com/prerender/prerender) and the prerender-node library at the app server.
My example's pages, created by angularjs, does work (are SEO friendly, it appears at google's search)..but the pages are "static", and the directory it's going to add always new bussines to the directory that I want to appear in googles searching.
Besize, I want my app to be multi-language, and also have doubts about how to do all of that be multi-language, and if it is possible.
I hope you can help me.
If you're hosting your own Prerender server, it will serve the page "on the fly" every time Google accesses it, so it will always have the latest, dynamic content from your pages. If you're using a Prerender plugin to cache your pages, you'll need to make sure you recache them... or use our Prerender.io SaaS and we'll take care of all of the recaching for you.
It sounds like you just want Google to crawl your pages more often because of how dynamic your content might be. In order to have Google crawl your pages more often, make sure to quality inbound links from other sites to increase your PageRank.
Here is lots of advice from Google about multi language sites: https://support.google.com/webmasters/answer/182192?hl=en

Hosting A Website On Webserver Vs Hosting on CDN?

I found out recently that it's possible to host a website completely on a CDN and I was wondering what are some pros/cons to hosting on Rackspace CDN instead of a Website?
My website is static so I don't see why it couldn't be done.. the only thing that I'm not sure about is if I could still use an .htaccess file.
If my website is static could all I need be done on a CDN? Is there a way to use the .htaccess file still?
If your web site is completely static files, you could certainly use a CDN to host it.
Pros:
Relatively easy to setup; usually being able to publish files using something like a FTP client.
Scalable with low latency for end-users. CDNs deploy the files to their edge nodes around the globe. This means your web site files will be closer (in terms of network latencies) to your end-users. This results in faster downloading of these files (i.e. your web site) for the end-users.
Cons:
Making your web site dynamic later might require some amount of work - separating static files from dynamic files, publishing static files to CDN and dynamic files to web server, ensuring that static files are published on CDN before they are referenced from other parts of your web site, etc.
See http://www.rackspace.com/blog/point-and-click-your-way-to-a-cloud-files-static-website-with-the-control-panel/ for a detailed walk through on how to setup a static web site using Rackspace Cloud Files CDN.

Add search feature to simple website without mySQL database

I have a simple HTML site with 100+ pages or so. I want to add a search bar at the top so the user can search the site. I know about Google Custom Search, but it shows ads unless you pay at least $100. Obviously I'd like ad-less search on my site for free if at all possible!
I've also heard about Lucene/Solr, but they do not actually crawl the site. For that I would apparently need Nutch.
Anyway, the site I have runs on a Microsoft IIS6 server, but I have basically no knowledge as to how Solr, Nutch, etc. gets "installed" on the server.
Also: I'd like to point out that I do have a local copy of the site. Perhaps I can do one big initial nutch "crawl" locally that will create an .xml for Solr?? That would help me get "up and running", but probably wouldn't be a good long-term solution.
..so should I just use Google Custom Search? or is there a not-extremely-painful-to-implement alternative? The brain hurts folks.
You did not mention how many search requests you want to handle but if you use the json-rest-api of google's custom search you have 100 searchqueries a day for free and you can display them without any ads on your page.
An simple example request can be found here.
Here is an easy way that works pretty well, although you may be looking for something more than this.
http://sitecomber.com/getsitecomber/
You can create code to paste into your site in about 2 minutes. It doesn't get easier than that. Search is powered by Google, but results are isolated to your website.
EDIT: This no longer works.

Rebuilding an 'Asp.Net' website in Drupal

A website is built in Asp.Net. I need to migrate it to Drupal,i.e, build it in Drupal. It has got a lot of content and demands many 'blocks' on the front page. It would be very tedious to have those many blocks in drupal as it would take a lot of time to load the content whenever the page reloads.
Is there a way out to manage such huge data while building that website in Drupal.
I don't see any features on that page that couldn't be accomplished with Drupal. The "time to load" issue you mention could be alleviated by using one of the variety of cache methods available in Drupal, such as the Boost module. If you're concerned about performance, I'd recommend checking out the Pressflow project, especially coupled with Varnish, a reverse proxy cache.

Resources