CodeCanyon

Caching class

  • Has been a member for 0-1 years
  • Bought between 1 and 9 items
iPokz says
Purchased

How to delete cache with specify key name ?

Thanks

Posted 7 months ago
Author
Sitebase Sitebase replied

I’m working on this for the next release.

Posted 6 months ago
  • Has been a member for 3-4 years
  • Exclusive Author
  • Bought between 50 and 99 items
acastro2 says

hi can I use it on wordpress site and flash site?

Posted 6 months ago
Author
Sitebase Sitebase replied

WordPress is also PHP so you can just use it like described in the documentation. For flash website you’ll need an caching class that is written in Actionscript.

Posted 6 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
netlic says

How long new engine delete specific key will be finish. :)

Posted 5 months ago
Author
Sitebase Sitebase replied

This should be ready be the end of this week :)

Posted 5 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Canada
  • Referred between 1 and 9 users
CyrusKafaiWu says

Does this allow to cache certain parts of a page or no?

Posted 4 months ago
Author
Sitebase Sitebase replied

Yes, it does :)

Posted 4 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
  • Canada
  • Referred between 1 and 9 users
CyrusKafaiWu says
Purchased

I purchased it now. Any suggestions on protecting people from viewing my cache directory.

Posted 4 months ago
Author
Sitebase Sitebase replied

Create a htaccess file in your cache folder and add the following:

Options -Indexes
<Files ~ "^\.cache">
Order allow,deny
Deny from all

Posted 4 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Bought between 10 and 49 items
eberswine says

Will this work for php4?

Posted 4 months ago
Author
Sitebase Sitebase replied

No, PHP5 + is required.

Posted 4 months ago
  • Has been a member for 2-3 years
  • Bought between 10 and 49 items
deendot says
Purchased

Hi

Love the script. It’s doing wonders for my project. Just a quick question. How do you cache an array?

For example:

$myArray [] = array (“apples”, “oranges”, “pears”);

Thanks in advance for your help.

Posted 3 months ago
Author
Sitebase Sitebase replied

Just the same like you would to a string:

if(!$array = $Cache->load("arrayexample")){

    // Do heavy PHP work
    $array = array ("apples", "oranges", "pears");

    $Cache->save($array, "arrayexample");
}
print_r($array);
Posted 3 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Algeria
KFlash32 says
Purchased

Hi

I got this error when i try this line of code:

$Cache->SetVerbose(TRUE);

This is the error I got.

Warning: implode() [function.implode]: Invalid arguments passed in /home/kflash/domains/budlik.com/private_html/classes/Cache.php on line 96

Then I checked Line 96, and this is the code:

echo “
--- CACHE VERBOSE ---
” . implode(“
”, $this->_verbose_states) . “
--- CACHE VERBOSE ---
”;

What is wrong here?

I also couldnt get this one to work

Posted 3 months ago
Author
Sitebase Sitebase replied

And without the verbose set does the script work without a problem?

Posted 2 months ago
Purchased
Default-user KFlash32 replied

Yes, it works without it.

Posted 2 months ago
Author
Sitebase Sitebase replied

Try to add the following line above that line 96:

if(!is_array($this->_verbose_states)) $this->_verbose_states = array();
Posted 2 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 50 and 99 items
Pixalax says
Purchased

Hello, I have no problem with my local computer but when I upload the script over the net, it is not creating the folder.

I decided to use your File Explorer class for creating directories and this time it is creating the folders but the chmod is weird like 244 and owner of the folder is apache.

How can I fix this problem for both of your cache and file explorer class seems to have the same problem.

I also noticed; mkdir($dir, "0755"). Shouldn’t it be mkdir($dir, 0755) ? (well it is not solving my problem anyway).

I don’t want to modify the code and connect to FTP and create folders. I will be glad if you can help me out with this problem.

Posted 2 months ago
Author
Sitebase Sitebase replied

That sounds more like a server setting than a problem with my script. Did you contacted your hosting about this.

Posted 2 months ago
  • Has been a member for 1-2 years
  • Exclusive Author
  • Sold between 1 and 100 dollars
  • Bought between 50 and 99 items
Pixalax says
Purchased

I solved the problem with folders. I realized I am sending folder1/folder2/... so I had to do following to have recursive folder creation;

mkdir($dir, 0755, 1);
Posted 2 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Algeria
KFlash32 says
Purchased

Sitebase does not reply to us? Something happend? He is not answering here, and not reply to emails

Posted 2 months ago
Author
Sitebase Sitebase replied

Sorry for the late response, see my comment on your previous question.

Posted 2 months ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
  • Algeria
KFlash32 says
Purchased

I still waiting for you to respond on my emails, and to everyone else, Sitebase is not giving any good support. For any evidence in my statement, feel free to take contact, and I can and will show you full email correspondanse between me and Sitebase. Nothing to hide here.

Posted 2 months ago
Author
Sitebase Sitebase replied

First of all, keep in mind that the authors here are not required to give support.

Second: I gave you support even while your question is an implementation question. I hope you understand that I can’t give full support for every implementation that someone does with one of my scripts while the scripts only cost a few dollars.

Posted 1 month ago
Purchased
Default-user KFlash32 replied

I understand your point of view, and the fact that you could wrote: can’t give support on that, or It’s impossible to implement it the way you want. That’s normal. To go complete silence, is unusual.

To the problem I faced, well It’s impossible with your script, so I solved it some other ways. And to clear things up, myself got 15 years experience in developement on different plattforms. And I thought this simple task should be possible, but it’s not without rewriting big parts of the script.

Posted 1 month ago
  • Has been a member for 1-2 years
  • Bought between 50 and 99 items
  • Canada
sitebuilderone says
Purchased

Great script – up and running within minutes! 8-)

Posted 1 month ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
Fredj94 says

Hi, i am good looking for a simple php class to cache my pages in .html files instead of calling the database for each request.

Does your class implements this ?

Thanks in advance

Posted 1 month ago
Author
Sitebase Sitebase replied

With my class you can cache your data/pages in cache files. When reloading the page the cache files will be readed and shown to the user.

Posted 28 days ago
  • Has been a member for 1-2 years
  • Bought between 10 and 49 items
ACAR says

Hi Sitebase!

Is your script compatible with data coming from API (json and XML formats)? Is the new version available? Don’t see any informations about it.

Thanks in advance!

Posted 11 days ago
  • Has been a member for 0-1 years
  • Exclusive Author
  • Bought between 1 and 9 items
  • Morocco
devc123 says

I’m so interested to purshas this item You seem that you’ve done a great job Can you clarify one point please I would like to cache all the page and get the cache not one attribute I mean One query that save all the page and other Get the page ? Is this possible

Thanks

Posted 7 days ago

You must sign in or sign up to purchase this item.

$5Regular Licence

$5

Regular Licence a website (commercial, personal, client), or intranet site project - Details

$25Extended Licence

$25

Extended Licence a website template for sale (including on ThemeForest or ActiveDen) - Details

227 Purchases 56 Comments

Buyer Rating
12345 ( 52 ratings )
Sitebase

Sitebase

  • Has been a member for 2-3 years
  • Won a Competition
  • Author had a File in an Envato Bundle
  • Envato Staff
  • Reviewer
  • Author had a Free File of the Month
  • Exclusive Author
  • Beta Tester
  • Sold between 100 000 and 250 000 dollars
  • Elite Author
  • Bought between 10 and 49 items
  • Belgium
  • Referred between 100 and 199 users
View Portfolio
Created 9 November 09
Compatible Browsers FireFox 2, FireFox 3, IE6, IE7, IE8, Safari
Software Version PHP 5.x
Software Framework N/A
Files Included PHP
by
by
by
by
by