The My Opera forums have been replaced with forums.opera.com. Please head over there to discuss Opera's products and features
See the new ForumsYou need to be logged in to post in the forums. If you do not have an account, please sign up first.
Opera Memory Cache
I'm a developer working on a project, and I would need to disable PNGs and JSs from ever caching (even in RAM)... I have made it work for firefox with the following lines on .htaccess file:<FilesMatch "\.(png|js)$">
ExpiresDefault "acces"
Header set Cache-Control "no-cache, no-store, max-age=0"
Header set Pragma "no-cache"
Header set Expires "0"
</FilesMatch>
So far so good. It even disables disk caches in Opera... But annoyingly, the browser still keeps the files in RAM, unlike Firefox, which always downlods. Have you got any idea on how to make these files download every time, even if they haven't been modified? (anything in html, javascript, or .htaccess file, but no PHP please).
Are you trying to stop memory caching temporarily for testing purposes, or are you trying to forcibly disable it whenever the release of your project is used by anyone anywhere?
If the latter then I'm afraid I can't help, but if the former, I assume you have tried just switching memory caching off in the Opera preferences?
If the latter then I'm afraid I can't help, but if the former, I assume you have tried just switching memory caching off in the Opera preferences?
Opera 12.16 on Windows XP Pro SP3 + Opera 12.02 on Windows 98SE with KernelEx (Dual Boot) + Opera 20 on XP for testing only! - Dual 3.2GHz Xeons - 4GB RAM - ATI Radeon X850 Graphics 1920x1080 32bit Colour with Large Fonts
Originally posted by DaveHawley:
Are you trying to stop memory caching temporarily for testing purposes,
Nope, it seems that he/she rather wants to annoy the user at best...
Every morning in Africa, a gazelle wakes up. It knows it must run faster than the fastest lion or it will be killed.
Every morning a lion wakes up. It knows it must outrun the slowest gazelle or it will starve to death.
It doesn't matter whether you are a lion or a gazelle: when the sun comes up, you'd better be running.
Every morning a lion wakes up. It knows it must outrun the slowest gazelle or it will starve to death.
It doesn't matter whether you are a lion or a gazelle: when the sun comes up, you'd better be running.
http://my.opera.com/yngve/blog/2007/02/27/introducing-cache-contexts-or-why-the
Sincerely,
Yngve N. Pettersen
Yngve N. Pettersen
) Yes, I want to disable that for good when the site will be launched...