I have problem with a development. My site work on any web-hostings. But when I upload the site on localhost by WAMP some functions is doesn't work.

I think the reason for the problem is that my local server have cache file. I noticed that explicit writing of the settings .htaccess helps to restore the working state of the site. Probably the default server configuration is different.

But, when I navigate through the site links on localhost, I sometimes throws on the page of the website?!

I know what's in httpd.conf there are some caching modules. I want to understand whether they can make differences in the work of local hosting. Because I don't really understand what they're doing, these modules. Need them or not?