GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   How do I force the cache to work?! (https://gfy.com/showthread.php?t=104141)

RedShoe 02-01-2003 04:37 PM

How do I force the cache to work?!
 
What do I need to do to make a person's cache or history to work?

It seems that my site is having to load all the images everytime. I want a little more speed and so I want to make their computer to show previously cached images or whatever.

How do I do that? By setting a cookie? Or with some meta tags or something? Does anyone know how to do that?

For example if I have a gallery with big ass thumbs, and a surfer loads it once... then the next day he comes back, it takes just as long to load. How do I make it so his cache or history will show those thumbs again.

flashfreak 02-01-2003 05:00 PM

just make sure you don't have this tag in your html
PHP Code:

<meta HTTP-EQUIV="Pragma" CONTENT="no-cache"


Mr.Fiction 02-01-2003 05:03 PM

Quote:

Originally posted by RedShoe
What do I need to do to make a person's cache or history to work?

It seems that my site is having to load all the images everytime. I want a little more speed and so I want to make their computer to show previously cached images or whatever.

How do I do that? By setting a cookie? Or with some meta tags or something? Does anyone know how to do that?

For example if I have a gallery with big ass thumbs, and a surfer loads it once... then the next day he comes back, it takes just as long to load. How do I make it so his cache or history will show those thumbs again.

Don't be so cheap, let the guy load the same images each day!

baddog 02-01-2003 05:08 PM

If I have my options set in my browser to Check For Newer Version every time a page is checked, that is what it is going to do. And if I even suspect that you are trying to tell my browser what to do, you are never going to see me there again. Just like if you put a script in that changes my home page without my consent, I am going to stay away from your site forever.

RedShoe 02-01-2003 06:11 PM

Quote:

Originally posted by Mr.Fiction


Don't be so cheap, let the guy load the same images each day!

Thanks. Money is not the issue. It's a matter of speed.


All times are GMT -7. The time now is 12:53 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123