All .htacces and mod_rewrite answered - examples, tips and tricks Forum Index  

All .htacces and mod_rewrite answered - examples, tips and tricks Forum Index -> Caching -> It the file is in /cache, use it instead
Author Message
admin
Site Admin


Joined: 18 Jul 2006
Posts: 89

PostPosted: Tue Jul 18, 2006 7:24 am    

It the file is in /cache, use it instead

Reply with quote

This works best if you use Cool URIs - you can have the whole directory structure in /cache. Use .html files for the final content.

Quote:
RewriteCond cache%{REQUEST_URI}.html -F
RewriteRule .* cache%{REQUEST_URI}.html [L,QSA]
Back to top
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.   
View previous topic
View next topic
All .htacces and mod_rewrite answered - examples, tips and tricks Forum Index
Page 1 of 1
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
FreeMind 1.1 Template by AU Templates