Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

An Apache web server is serving content through CDN. The CDN cache every 3 hours. Is it normal that Apache logs all the visits? I think this means that the CDN is not working!

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Without more details of your architecture, it is hard to say. If that Apache instance is the front-end to which browsers initially connect, perhaps as a reverse proxy, then you would expect it to log requests even if content is subsequently served from elsewhere. If, on the other hand, your load balancers should have diverted some or all requests to your CDN, then there might well be an issue with the CDN (or load balancers, or caches).

share|improve this answer
    
It turned out that we are using a reverse proxy. –  Ahmad Alfy Mar 17 '13 at 12:28

Well, normally I would say that it's not normal.

But there are different settings you can do at CDN level.

If for example, you have put in the CDN that it should check your base server for the changes everytime, then everytime the CDN server will hit the origin server.

Though, if you have given that the CDN should cache it for 3 hours blindly, then it should send the requests to the origin server (apache server). If it's hitting the origin server, then there is something wrong with the CDN and it should be looked at.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.