yes exactly. You can ask why ๐ I didn’t implement “Automatic cache” because user cannot realize that cache is deleted.
but I start to think that adding a button which creates “Automatic cache”.
Hi,
Would be great. The reason I am asking is, I have an autoblog, where every 20 minutes new posts are being published. I don’t even login to do anythig. So, every 20 minutes cache would be emptied and first vistor would have uncached site. Wouldn’t it be better if he could open my site smoothly, with fresh cache?
If it is technically possible for you, please do this. This is important feature in my case. I think, for some other users too.
Thanks for your answer.
Regards…
I will implement it. it will be on admin panel. you push button. but it cannot work in 1 second. you need to wait 1-2 minute. is it cool?
In admin panel and I would have to press it manually? Hmmm. You can imagine sitting in front of the screeen and pushing it manually every 20 minutes. No, sorry, but this idea seems to be for me useless (if I understand you well).
Regardng time needed for new cache, I think it’s OK (if cannot be quicker).
Thanks.
now I want to spend my time for optimization. but I will think about your request
Thank you Emre. Take your time. All the best.
@goraszka: Just make a script that delete the cached .html every 20 minutes send a header-request for the main-page (or just run a bat-file)
You can ftp also within the bat-file, see:
http://www.dostips.com/DtTipsFtpBatchScript.php
Or use php ofcourse. I think a good solution if you only want to refresh the landing-page.
LOL! I’ll take a look into it. You’re so quick and helpful! Thanks a lot!
P.S. Yes, in my case main page is enough. There is only one page at all. All links are pointing to original sources.
actually I need to implement the best solution for all ๐ but as I said before, now I want to spend my time for optimization.