• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Images in css files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Images in css files


  • Subject: Re: Images in css files
  • From: Hugi Thordarson <email@hidden>
  • Date: Sun, 30 Nov 2008 21:14:38 +0000

Serving resources dynamically is in fact beneficial when it comes to controlling cache behaviour. I usually insert a version number into the URL to files, so when a file is modified,it's URLs changes too. This allows you to set cache headers so that resources are cached virtually forever and only fetched when a change has occurred and a new version is required.

An additional benefit of this is that a user's browser will never be using an out of date version of the resource. Quite nice.

OTOH, I DO live in Iceland and develop sites for a market of 300.000 people - so I am allowed to do some wacky stuff when it comes to performance ;-).

Cheers,
- Hugi




On 30.11.2008, at 18:46, Guido Neitzer wrote:

On 30.11.2008, at 11:03, Chuck Hill wrote:

You will also have to make sure the headers are set to allow client caching (which is usually not what you want for dynamic content) or the users will have to wait for for CSS to be downloaded again on every page. That is also a performance issue, but on the other side of things.

And on a busy site that's a big one. Same for "design" images (buttons, corners, backgrounds, icons) and so on. That can easily go over 10GB per day if you have a public and busy site.


cug
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Images in css files
      • From: Mike Schrag <email@hidden>
References: 
 >Images in css files (From: Randy Wigginton <email@hidden>)
 >Re: Images in css files (From: Hugi Thordarson <email@hidden>)
 >Re: Images in css files (From: Mike Schrag <email@hidden>)
 >Re: Images in css files (From: Hugi Thordarson <email@hidden>)
 >Re: Images in css files (From: Mike Schrag <email@hidden>)
 >Re: Images in css files (From: Chuck Hill <email@hidden>)
 >Re: Images in css files (From: Guido Neitzer <email@hidden>)

  • Prev by Date: Re: Object not being saved after refaulting and applying changed
  • Next by Date: Re: Images in css files
  • Previous by thread: Re: Images in css files
  • Next by thread: Re: Images in css files
  • Index(es):
    • Date
    • Thread