![]() |
Meta Tag Cache
When building galleries as an affiliate, should you have a no-cache or a cache for this meta tag http-equiv="Cache-Control" content="no-cache"?
Thanks |
It depends on what you want.
If you want to cache those pages you can add on each page a meta tag: <meta http-equiv="Cache-control" content="public"> But keep in mind, that maybe not all users will see changes if you are using cache. A better way is to use .htaccess to enable browser caching or even better configure it in your apache2 config. You are more flexible with this. Code:
<IfModule mod_expires.c> (this is my way to cache images, css etc.) Code:
<FilesMatch "\.(?i:gif|jpe?g|png|ico|css|js|swf)$"> |
As porncrash told u can use it many ways but i usually prefer to use it with .htaccess
|
Use .htaccess
|
All times are GMT -7. The time now is 04:04 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc