-
1. Re: Jboss and Apache Cache Issue
erasmomarciano Oct 12, 2012 6:26 AM (in response to imranbaseer)You can try so:
Add this string when you call the udl pdf ?pippo
example
http://localhost/mysite/dowanlod/my.pdf
you have call
http://localhost/mysite/dowanlod/my.pdf?pippo
Into your broswer you use an Proxy?
-
2. Re: Jboss and Apache Cache Issue
imranbaseer Oct 15, 2012 9:28 AM (in response to erasmomarciano)The new files are displayed if we add ? after the correct URL.
Could you please let us know, how could we open the new files without putting ? after the correct URL.
-
3. Re: Jboss and Apache Cache Issue
erasmomarciano Oct 15, 2012 12:34 PM (in response to imranbaseer)The "?" is an trick that i use when in my broswer uses an proxy and caches the my request
-
4. Re: Jboss and Apache Cache Issue
imranbaseer Oct 16, 2012 9:25 AM (in response to erasmomarciano)How to resolve this issue without Cache Busting(I mean without using ? after the URL)?
Can you please guide here?
-
5. Re: Jboss and Apache Cache Issue
erasmomarciano Oct 22, 2012 9:17 AM (in response to imranbaseer)1 of 1 people found this helpfulOK try this:
Enable mod_headers on apache (LoadModule), then add tih to your httpd.conf file:
<filesMatch "\.(pdf|txt|doc|exe)$">
FileETag None
<ifModule mod_headers.c>
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>
</filesMatch>
HTH