Reputation: 1
I have a joomla website for a classified site and the advert images are stored in the following directory /images/adverts/
I have applied image caching using the htaccess
file for the site.
Is there a way to prevent caching of the adverts image folder ?
Upvotes: 0
Views: 1532
Reputation: 454
You can add a .htaccess in that folder (/images/adverts/) in which you write:
Header set Cache-Control "max-age=1"
Upvotes: 1