Questions tagged [static-content]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
2answers
3k views

Using CDN vs having your own static server, and how it's done?

I would like to speed up my site and am considering moving all static files and user uploaded content to a separate server. I have an option to use a CDN or to setup my own static server and serve ...
1
vote
1answer
259 views

What's the best way to version CSS and JS URLs - part 3

this is a follow up question to this one What's the best way to version CSS and JS URLs - part 2 If I have my static files on Amazon cloudfront and have the file's URLs mentioned in my code. How will ...
1
vote
1answer
362 views

What's the best way to version CSS and JS URLs - part 2

This is a follow up question on the following question What's the best way to version CSS and JS URLs Both of the solutions mentioned there would require modification to the files where the css and ...
3
votes
1answer
72 views

Cost effective way to provide static media content

I'd like to be able to deliver around 50MB of static content, either in about 30 individual files up to 10MB or grouped into 3 compressed files, around 5k to 20k times a day. Ideally I'd like to put ...
1
vote
2answers
193 views

How to create / find static targeted ads

I'm not sure how to ask the right question but I noticed on this website, each post has very specific targeted ads that fit the overall theme of the blog post. www.ma-petite-chou.com I'm only ...
26
votes
4answers
8k views

What's the best way to version CSS and JS URLs?

As per Yahoo's much-ballyhooed Best Practices for Speeding Up Your Site, we serve up static content from a CDN using far-future cache expiration headers. Of course, we need to occasionally update ...
6
votes
1answer
4k views

Can I expect browsers to cache static content served over SSL encryption?

With all the talk about FireSheep I am thinking of switching my web applications to use full https accross the entire site. However, I am concerned about caching. I use a lot of JavaScript, CSS files, ...
4
votes
7answers
5k views

Offline CMS for Static Web Sites [closed]

I have a friend that wants a desktop-based content management system -- one that publishes entirely to static HTML (and images, CSS, etc). What are the best options?
6
votes
1answer
1k views

No mod_expires or mod_headers in apache, how can I cache images/js/css files?

Title says it all, we do not have control over our server environment and although we can request for them to recompile apache for us it will not happen overnight. Is there anything we can do is ...
12
votes
5answers
317 views

Should JavaScript referenced in the head section be served from the same hostname as the main document?

I was under the impression that for the best performance, Javascript should be treated as static content and served from a cookieless domain along with CSS files, images, etc. But Google says here: ...
21
votes
13answers
7k views

Allowing customers to edit static website via WYSIWYG

I've set a few clients up with Adobe (formerly Macromedia) Contribute to edit static html content. Add the comments to prevent them from causing too much damage and it works okay: <!-- ...
10
votes
2answers
665 views

How many domains to split components across?

I understand how splitting components across domains can maximize parallel downloads, and enable you to have cookie-free static content domains, but since there's a time cost for each domain lookup ...