0

I have a site in xampp localhost and it will setup a domain using windows vhosts myproject.com. When i will run the chrome bfcache then it says Successfully served from back/forward cache. (included screenshot). But when i want to try back or froward it says The cache was intentionally cleared. (included screenshot). I will search on google, stackoverflow. But there are not enough discussion for the bfcache problems. I have send the header requests screenshot. Help me to figureout the problem. In the xampp vhost header setting i will added bellow code.

<VirtualHost *:80>
    ServerName myproject.com
    DocumentRoot "C:/xampp/htdocs/myproject"
    SetEnv APPLICATION_ENV "development"
    <Directory "C:/xampp/htdocs/project">
        DirectoryIndex index.php
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
    Header set Cache-Control "max-age=846000, public"
</VirtualHost>

[Successfully served from back/forward cache](https://i.stack.imgur.com/uIMsp.jpg)
[The cache was intentionally cleared](https://i.stack.imgur.com/MKPAP.jpg)
[Xhr Header Request Part 1](https://i.stack.imgur.com/jd9nw.jpg)
[Xhr Header Request Part 2](https://i.stack.imgur.com/Y19xH.jpg)

0 Answers0