testnocache.php get's cached even with htaccess below
Code:
RewriteRule /test.php - [E=Cache-Control:max-age=45]
response header with cache policy as
Code:
Enable Cache:No
Cache Request with Query String:Yes
Cache Request with Cookie:Yes
Cache Response with Cookie:Yes
Ignore Request Cache-Control:Yes
Ignore Response Cache-Control:Yes
Code:
Content-Encoding gzip
Vary Accept-Encoding
Date Thu, 20 Jan 2011 14:05:10 GMT
Server LiteSpeed
Connection Keep-Alive
Keep-Alive timeout=5, max=100
X-Powered-By PHP/5.3.4
CurrentTime Thu, 20 Jan 2011 14:05:10 GMT
Content-Type text/html; charset=UTF-8
Content-Length 78
contents of cache
Code:
ls -alhR /lscache
/lscache:
total 16K
drwxrwxrwx 3 nobody nobody 4.0K Jan 21 00:05 .
drwxr-xr-x 25 root root 4.0K Jan 20 23:06 ..
drwx------ 3 nobody nobody 4.0K Jan 21 00:05 e
/lscache/e:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 21 00:05 .
drwxrwxrwx 3 nobody nobody 4.0K Jan 21 00:05 ..
drwx------ 3 nobody nobody 4.0K Jan 21 00:05 9
/lscache/e/9:
total 12K
drwx------ 3 nobody nobody 4.0K Jan 21 00:05 .
drwx------ 3 nobody nobody 4.0K Jan 21 00:05 ..
drwx------ 2 nobody nobody 4.0K Jan 21 00:05 d
/lscache/e/9/d:
total 12K
drwx------ 2 nobody nobody 4.0K Jan 21 00:05 .
drwx------ 3 nobody nobody 4.0K Jan 21 00:05 ..
-rw------- 1 nobody nobody 237 Jan 21 00:05 e9d22bcd