All Questions

Tagged with
Filter by
Sorted by
Tagged with
19
votes
3answers
13k views

Pre-Warming the Magento Enterprise Full Page Cache

The performance benefits of the full page cache in Magento Enterprise are fairly well known. What may not be quite so well known is that for the full benefit of this to be realized, it must be fully ...
4
votes
2answers
9k views

Is it possible to setup a cron job to flush product catalog images?

You can obviously manually flush the catalog images cache by going to Cache management and clicking on "Flush Catalog Images Cache". My question is can this be set as a scheduled task? If so, what ...
4
votes
2answers
153 views

Why can't I access my custom cache key via CLI when it was set through a web request?

I have a method that calls the following code from a web request. Mage::app()->getCache()->save('bar', 'foo', array(), 60*5); I have another method that calls Mage::app()->getCache()->...
3
votes
1answer
1k views

Cron does not reschedule currency_rates_update job until Cache Storage is flushed

One problem I have been assigned to investigate is to the updating of currency rates via the cron job. I was able to get it to update fine, but when I went to run it again after changing the time (by ...
3
votes
1answer
80 views

When does magento cache become invalid

We have a situation that the Magento cache is refreshed every night automatically. Afther this a script runs which visits every page to build the cache and every page will be fast. This works, however ...
2
votes
0answers
402 views

Magento 2 - Disable cache invalidation temporarily during processing, then invalidate appropriate caches?

I'm in the process of developing a bespoke product import/sync module for Magento 2 and I'm trying to find ways to speed the process up as much as possible. The full set of products contains over ...
2
votes
0answers
373 views

What are the best practices for Magento CRON (& cache cleaning)?

I finally got CRON scheduling working properly (no thanks to Bluehost), and discovered a dizzying array of options--even more after I installed Aoe Scheduler and CacheCleaner. Are the default CRON ...
1
vote
2answers
1k views

How can i set auto cache and reindex using cron

I need to set magento all cache and magento reindex automatically, how can i done by using cron.
1
vote
1answer
511 views

Does Mage::app()->cleanCache(); clear Magento Enterprise FPC?

Does Mage::app()->cleanCache(); functionality clear Magento Enterprise Full Page Cache too or does another function/method have to be setup in our cache.php script? Here is what is in the script ...
1
vote
1answer
42 views

What's the preferred way of storing static calculation results in Magento?

What's the best way of storing calculation results in Magento ? Example: I need to calculate total number of active products in each category and show the results in the menu, for that purpose, I ...
1
vote
1answer
75 views

Why do i have to always run the commands to clean cache in Magento 2.1.8?

Whenever I make any change to CSS of my Magento store, it doesn't seem to be updated. I also tried to clean the cache from the Magento admin dashboard but it didn't work. Now I always have to run ...
1
vote
1answer
284 views

Getting error: find: missing argument to `-exec' when using cron job to remove temp files [closed]

I am trying to create a cron job that deletes any temp files after certain periods of time. In crontab I have this: MAILTO:="my@e-mail.com" @hourly /var/www/magento/cache.sh And in cache.sh there ...
0
votes
3answers
1k views

Auto reindex 'Product Flat Data' and refresh cache 'Blocks HTML output'

When I edit something on a product, Magento always ask, reindex 'Product Flat Data' and refresh cache 'Blocks HTML output' I manually process those whenever I edit but it's very annoying when I have ...
0
votes
0answers
35 views

Creating a cron task to store data into Magento cache (module development)

This is Magento 1.9.x CE. I have created some modules that implement a helper to pull data from various APIs and save the output in Magento's cache using the _saveCache method in ...