36 comments found.
Hi I have your cache working on my blog section of my site but its unclear to me how I delete a cached page from the cache, for instance if this page https://ivebo.co.uk/read-blog/118078_big-data-amp-synthetic-data-software-market-forecast-2032.html is being cached what code would I use to clear that pages cache in the event the author edited the page and wanted the new version to be seen. As it appears to have a code or i.d. at the start of the cached file in the cached folder..
Thanks fore waiting: Delete the Cache If you run a dynamic website, change session variables or use User-Logins etc. you need to delete the cached pages to refresh the content and see the changes.
// DELETE ALL CACHE
include 'cache-empty.php';
or
// DELETE THIS PAGE CACHE
include 'cache-delete.php';
Hi thanks for your help the above doesnt work for me however I have been able to delete the cached file in another way from the cached file folder so not a problem but couple of questions, I have just noticed something strange, im getting multiple copies of the same cached page screenshot here https://www.net2you.co.uk/Captureewcwe.PNG doesnt seem right is something going wrong? and 2. Is it possible to have the cache file made without the cache id code as my blog articles are sequentially numbered anyway do don’t need individual identifiers, also removing the generated cache id would for me also solve the first problem im having as without the cache “id” the pages would have overwritten each other so I wouldn’t be getting multiple versions of the same cached page. Your help is much appreciated..
1. As you see have all files different sizes so, the content has changed, so this is ok. 2. The ID is a hash from the content and needed to detect changes. So sorry no. If define(‘CACHE_TIDY’, TRUE); then all not needed cache files will be deleted if they are older than this hours: define(‘CACHE_TIME’, 1);
Take a look into the cache.php how your settings are
have a nice week
Thank you.. You to
Can I use it on Namecheap hosting, for OceanWP theme? Looks interesting to me.
I have no experience with this hosting, but I know of no reason why it shouldn’t work!
Also, the software is not a WordPress plugin, but it can be used for any PHP script, including WordPress. It has to be built into the template and you have to have the appropriate knowledge, because the script does not come with an installation service
I understand. Thank you very much for those details!
Does it work to cache mysql data as well that are displayed on php/laravel pages?
It caches the html output, no mater where the data came from
demo not work,, how to test demo, boy?
thanks for the hint mr. nice guy – fixed it for you: https://www.adilbo.com/easy-cache/documentation/
Good code
“I have sent a request for assistance regarding the activation issue, but it has been 24 hours and I still haven’t received a response. Ticket ID: 10156 nnc1086 has not purchased the item.”
Are you sure you are right here? 
Will this code work with SNGINE PHP Social network here on Codecanyon?
and do you support this as I see this >> adilbo does not currently provide support for this item.
Should do so, but since I have not bought the product “SNGINE PHP Social network” and have not tried it out yet, I cannot know that. 
Thanks for the reply
Hello, Presales question. We use a dynamic page. If the content in the page changes, does your scripts automatically detect content change and cache a new file instead of the old one?
Thank You
Dear Tommy, thanks for getting in touch. If you have a static Page cache makes no sense, so (like you can check in the Demo) if a Pages changes a new static cache is build and this cache is used until the page changes again) – the only think it can’t do is cache a Page that only appears after a user has logged in, because the cache can’t login a page ;) hope that make thinks clearer. have a niche weekend and stray healthy ;)
hi, pre sales. I’m create web use wordpress. but have many different host. 1. can it’s handle with different server for a few site ? make sure site server it’s save so I create the cache in high server. 2. In your documentation https://www.adilbo.com/easy-cache/documentation/index.php it’s just add include php in header , can wordpress handle dynamic cache setting ? and how if any update post its purge to show new version .
It works with WP but it is designed für 100% pure PHP Scripts. So if you want to be 100% sure that all works fine please use a pure WP Plugin
Cheers
Hi how am I contacting you in private
Just purchased it and having nightmare using this piece of code. Training is as good as it doesnot exists. I guess there are changes that need to be done to fit to the server – but there is no documentation. Tried putting the file but it stopped the entire site. Can you send me setup details – as i cannot give access to server. Thanks in advance
Well, I need the page by source where you implement the code, I think you need to implement the code before any other html or header is send to the browser. That’s the must common mistake. But maybe you send a page by example and you will see it works as described in the documentation and nur to make it clear there are normally no changes needed to the server
internmail at gmail dot com
Hi My database is updated every hour and there is a lot of news on the site. Very heavy load on the server database. A lot of queries to the database. The task is to reduce requests within an hour until the database is updated. The question is whether your script is to reduce the load on the database? Thank you
Thanks for getting in touch. Yes the script should do the job. The Cache save a HTML Version of every page request and so there is no more database query till the cache is outdated (and you setup how long the cache should be valid). So you need some HD space für the cache files but it will run mutch faster!
Dear, I have enabled ”$nocache”. But it is not showing older cache for the same page while the cache content exists on the cache folder.
But You commented that: // DISPLAY CACHE (if found) AND STOP
Please double check…
you need to set
$nocache = 'on';
.
before the include and it will work!
If there is still an old Page it’s the Browser Cache 
$nocache = ‘on’; this is what I have done. I’m using PHP 7. Also done 100s of testing. The result is 0 with dynamic caching.
I also use PHP 7 can’t reproduce that. What dose that mean: “The result is 0 with dynamic caching.” Send URL and code with FTP Account data by mail to “internmail” at gmail.com so i will take a look
Dear, Thanks for your quick reply. I’m very happy with your support. But where I’m using the script is a $30,000 project. Unfortunately can’t give you FTP access. I found an alternative solution. No worries.
Have a nice day 
Thanks, you are so kind, if i can do anything else let me know
Best Regards
PreSales question: Not a CMS. Just using standard php (index.php) pages using standard includes to save time. Will your script create a cached file with only HTML, after making one pass caching same site page? In other words, will the script access the page once and then cache only HTML to display onpage?
index.php Page indclude Examples <?php include(“includes/a_config.php”);?> html content <?php include(“includes/css.php”);?> html content <?php include(“includes/navigation.php”);?> html content <?php include(“includes/footer.php”);?>
Thanks for getting in touch:
Yes, thats the way it works: “the script access the page once and then cache only HTML to display onpage” 
Yes, thanks for your reply. As long as the first pass to create cache the includes are processed <?php include(“includes/footer.php”);?>, this is a great idea
Would this script be suitable for a website with just over 10 million pages?
The size of the page is not the problem, you only need a big hard disk and at the moment all cache file will be saved in one folder – this need maybe a workaround if you have 10 million cache pages in one folder that could be a problem, but I can help with an individual fix for that – send me details be email to intern mail at gmail dot com and you will get a quote – cheers
Thanks, e-Mail sent.
Will respond on Monday 
Sure, no problem, thanks!
Purchased this script a while ago and finally started to use it. My take: This is only good if you only have static pages.
I have a header and a navigation bar running across all pages. - I first tried to place the include cache in the header first. Nothing refreshed after logout from user to user. - Then i put it in the navigation bar in which the header is included. Same problem. - I also tried to integrate the cache only on the views (pages). Same problem.
- Then i tried to insert the cache-empty inside the logout.php. It was much better then. Cache gets emptied but only problem: last visited page doesn’t refresh because it gets recached right away. So if you logout on a page that has a login modal on it, it will never refresh if you login user A logout and login user B.
Really sad, because speed improvements a real and it works great. In theory.
Hello,
you are already partly right if a page is dynamically generated for different users depending on the login, this system can not distinguish the pages. And of course user A should not see the saved page of user B from the cache. So the script can be used for static pages, and also for dynamic ones (e.g. from a database), but not for different login-users. If you need further support you can contact me by eMail: https://codecanyon.net/user/adilbo#contact
Cheers 
Thanks for the fast reply. Well you could help me a lot if you could modify the script so the last visited page doesn’t get recached right away after page refresh (logout on same page). My problem would be solved. Can you do that fast fo me ? I would really appreciate it.
Habe dir die obere Nachricht per DM gesendet, aber noch keine Antwort von dir :/ Es eilt dramatisch, muss ne Seite herausbringen und ringe mit mir selber ob ich redis einsetzen sollte. Wenn du aber machst was ich oben vorgeschlagen habe, brauche ich das nicht mehr.
Oh, wir können auf Deutsch schreiben? Prima. Das du keine Antwort auf Deine DM bekommen hast liegt daran, das du am Freitag nach Büroschluss geschrieben hast und ich am Wochenende nicht arbeite sprich auch nicht diese eMails check. Aber ich werde natürlich versuchen Dein Problem zu lösen. Hast du mal ein Link Deiner Logout Seite für mich? VG
Hello.. How can I configure this cache for 10 minutes only?
Thank you
I see that on define(‘CACHE_TIME’, 1); you guys are using hours.. I need only 10 minutes on a specific page. Thanks a lot
Cheers, 10 min are 0.166667 Hours
Please give it a try – Cheers
Thank you a lot!
It works? You are welcome! Have a good one!
Yes it seams to be working just fine!! Thank’s for this script. it’s works perfectly for my project
Nice to hear – maybe i can hope on a 5-stars review
Cheers
Done!
You are so kind – i’m very happy 
Hello, love what you did, works great, just one problem, now my users cant login on the website. How do I fix it? thank you so much, regards
Dear magnetcolors,
can you provide me with a Link, please use the Support Tab
Cheers
ok, using the support tab, thank you.
Got your eMail and already answered it
Cheers
Yes, I saw and was a bit disappointed. You should openly tell everyone that this script, as it is right now, doesn’t let anyone use a login/create account on a one page website. You see, that is the problem, the login, are usually part of the first page, they are not separate pages, but forms that pop up. This. making it impossible to cache the main page of the website, and still have a functional site. I saw my problem is common, there are other that have the same issue. Thank you
Well, if a customer “A” login he must see an other page than customer “B” so this there can’t be the same cached page for both – i understand that you are a bit disappointed and will add a hint in the item description!
Hi, I have web view mobile APPs, When there will be no internet so slow page does not open as APPs are showing response web. If I install this on my web or Mobile layout,.will this help to open visited pages ?
Thanks
Thanks for getting in touch, my script will cache the pages on the server side – so it would not help if the internet connection is soll or not existent – sorry, but it would not help in that way you need it. Cheers 