idgcorp 0 Newbie Poster

I know there is are some expiration directives that will require a load from the source instead of the cache after a certain period, but I would like to redirect/deny the user to different location if the file (not all files of a certain type) they are looking for is expired. Any ideas? Is it possible to use some sort of if...then syntax in an htaccess? TIA for anyones help

examples:
ExpiresActive on
ExpiresByType text/html A86400 # seconds after last access
ExpiresByType image/png M86400 # seconds after last modified
ExpiresByType image/jpeg 'now plus 1 day'

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.