Over-ride the not caching behaviour for no explicit expiration

View: New views
1 Messages — Rating Filter:   Alert me  

Over-ride the not caching behaviour for no explicit expiration

by tanshul22 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i have a situation which returns a
"not cached. Reason: query string present but no explicit expiration time"
this is a php script and i want to cache the result anyhow.

my config file reads like:

<IfModule mod_headers.c>
        Header set Expires 62222222222222
</IfModule>

<IfModule mod_expires.c>
        ExpiresActive On
        ExpiresDefault "access plus 10 days"
</IfModule>

<IfModule mod_proxy.c>
        ProxyRequests On
        <Proxy *>        
                Order deny,allow        
                Deny from all        
                Allow from localhost
        </Proxy>
</IfModule>

<IfModule mod_disk_cache.c>
        CacheEnable disk /
        CacheRoot "c:/temp/cache/"
        CacheMaxExpire 864000
        CacheDefaultExpire 864000
        CacheIgnoreNoLastMod On
        CacheStoreNoStore On
        CacheStorePrivate On
        CacheIgnoreCacheControl On
        CacheLastModifiedFactor 864000000000
</IfModule>


am i doing something wrong or do i need to do something extra to cache in such situations.

Thanks,
Anshul
LightInTheBox - Buy quality products at wholesale price