Webmaster Forum

Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Dedicated Servers Dedicated server help.


Reply
 
LinkBack Thread Tools Display Modes
Old 07-30-2007, 12:21 PM   #1 (permalink)
Junior Member
 
c-low's Avatar
 
Join Date: 04-21-06
Location: Boston
Posts: 25
iTrader: 0 / 0%
Latest Blog:
None

c-low is on the right pathc-low is on the right pathc-low is on the right path
Apache 2.0 -- Conditional caching of .css .js and images

Does anyone know how to conditionally set caching for certain files with Apache 2.0 based on whether there is a new version available?

This is the scenario:
I want my stylesheet to be cached for one week unless there is a newer version available. So if I update a css file and somebody views the site within a week of their last visit, I want to override that one week cache rule and reload the file.

As far as I can tell, I have 2 options:

ExpiresByType text/css "access plus 1 weeks"
ExpiresByType text/css "modification plus 1 weeks"

And I don’t see any option for what I need. Any help would be greatly appreciated.

Cheers
c-low is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Hosting Forum > Dedicated Servers

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google crawling and caching FHM Google Forum 10 03-05-2008 01:52 AM
Force Caching of Images but not the page (asp) alecks Coding Forum 4 10-27-2006 02:46 PM
An introduction to caching with PhP Nikolas Coding Forum 0 03-17-2006 07:05 AM
Google not caching directories Patient Google Forum 8 01-06-2005 04:48 PM
Caching flash files downtroden Coding Forum 1 07-28-2004 02:01 PM


Sponsor Links
Get exposure! Contextual Links V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 12:17 PM.
© Copyright 2008 V7 Inc
Powered by vBulletin
Copyright © 2000-2009 Jelsoft Enterprises Limited.


Search Engine Optimization by vBSEO 3.3.0 ©2009, Crawlability, Inc.