![]() |
Can i setup lastmodiffied if modiffied headers to my vbulleting pages?
Hello,
i want to setup some information in return headers that tells crawling bot that forum topic (for example) was not modiffied so he should not redownload page. How can i do this please? I already have last-modiffied headers for certain file types, but not for whole page which is what i want.. There are some examples: https://stackoverflow.com/questions/...aders-with-php But im unsure how example i can do it in vbuleltin? Thank you |
Why would you want to do this? It'd be a fair amount of effort, vs the returned reward.
|
Why You think that that reward is low? I think it is quite important to save server load by telling brosers/bots to not download page again..
|
If you are worried about server load, from bots downloading text, you need to look into another host.
Anyhow, you can set this in .htaccess # START Expires Headers Code:
ExpiresActive On |
I already setup last modiffied headers, but dynamic thread/topic vbulletin pages appears to do not have global expire headers set. It has this set only for elements like images, css etc. But im talking about whole page expire information....
|
So, you do realize if you send a cache for html content, the browser/bot/etc wont recheck it, until it has expired, even if there is new content, right?
|
Quote:
|
But the browser wont request them if the expires is already set.
|
Like was mentioned earlier, there would be to much coding to get it to work right, for so little payoff. If you are looking to save server load, it's time to upgrade your server. :)
|
All times are GMT. The time now is 02:03 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|