FAQs

Here are some of the top questions asked by users of our products. If you don’t see the answer to a problem you are having, send us a support ticket and we’ll see how we can help.

SmartCache

A specific stylesheet is not displaying correctly since setting up SmartCache
If you have installed SmartCache Premium, go to the Minify tab and go down to the Stylesheet File Tuning area. Start entering the subject stylesheet file name in the "Search for Files" box. When you see it appear, deselect the corresponding Minify checkbox.
Does the system report that is submitted with support tickets contain personal data?
No. We only need technical information. Nothing sensitive is transmitted.
How do I add the smartcacheopt.conf file to my NGINX configuration?
Attention: This information is provided for general knowledge.  We do not take responsibility for problems that may arise from its use.  If you are not comfortable changing server settings, please ask your system administrator.
The smartcacheopt.conf file contains several optimization instructions, automatically prepared by SmartCache and executed by the server, that help to maximize your site's performance outside of Wordpress.  However, on NGINX servers, this file is ineffective until it is included in either the default or domain configuration file.

If you log into your server using SSH and open the default (/etc/nginx/sites-available/default) or domain configuration file (/etc/nginx/sites-available/{domainname}) in a text editor such as VIM or NANO, simply insert the following line before the .php location block:

include /var/www/{domainname}/{docroot}/smartcacheopt.conf;

Then save the file and run nginx -t to verify the changes.  If everything works, restart your server.
How do I know files are being minified or combined?
There are two ways to check:
  1. Go to any URL that is not excluded by either the "Do Not Cache Specific Pages", "Do Not Cache Specific Post Types", "Do Not Cache Front Page?", or "Disable Caching Where Cookies Present?" settings. Right-click anywhere on the page and select "Inspect". Reload the page. Click on the "Network" tab in the browser Inspector and choose either CSS or Javascript. If you see a list of files ending in ".css.php" or ".js.php" those files are minified. If you see files that look like "67507b4820af342b1252a700bc38bca4-1.css.php" those files are combined.
  2. Go to the Tools tab and enable the "Enable debug mode?" option. Place the shortcode, [sc-show-debug], in any page editor content, or <?php echo do_shortcode('[sc-show-debug]'); in a PHP theme template file (I like to add it to the footer.php file in the theme), to display SmartCache debug information to logged in administrators. This debug log will describe what the plugin is doing on the page you are viewing.
How do I modify or delete the SmartCache rules from the .htaccess file?
It is not recommended to alter the .htaccess file if you are not familiar with its construction. However, if you need to modify it while the plugin is active, add your rules outside the # BEGIN SmartCache Optimization and # END SmartCache Optimization tags. The rules between those tags are automatically set by the plugin. Once the plugin has been deactivated, you can remove the contents of the .htaccess file between the SmartCache Optimization tags.
How do I serve uncached content to specific browsers?
Go to the Browser Caching tab and select the mobile device(s) from the "Do Not Cache User Agents" list.
How do I serve uncached content to specific mobile devices?
Go to the Browser Caching tab and select the mobile device(s) from the "Do Not Cache Mobile Devices" list.
I am seeing a "It looks like your .htaccess file is not writable" error
SmartCache is trying to automatically update your site's .htaccess file after you made some changes. If you are able locate the .htaccess file (normally in your site's root folder -- /public/domain, /var/www/domain/htdocs, etc.) and set its permissions to 666. Resave the settings. Reset the .htaccess file permissions back to 644 or 444.
I don't see the sc_vault folder in /wp-content/uploads or I don't see any cached content within that folder.
Depending on which settings group you have enabled, different cache folders will be created. For desktop access, the sc_vault folder will be created. The sc_vault_mobile folder is generated the first time a mobile user visits the site and the "Mobile Cache" option is set on the Browser Caching tab. Under each will be a folder for each domain of the site (the main one for standard Wordpress, and one for each of the Wordpress Mulitsite domain). Under these domain folders there will be one or more of the following: a sc_remote folder for any remotely acquired content, a sc_combine folder for combined files, and a sc_static folder for each statically-generated HTML file. If none of these folders appear, check the folder permissions of the /wp-content/uploads folder. A good article on setting folder permissions is Changing File Permissions on Wordpress.org.
My frontpage is not displaying properly
Go to the Page Caching tab and enable the "Do Not Cache Front Page?" setting.
My Woocommerce cart page is not working
Go to the Page Caching tab and select the cart and checkout pages from the "Do Not Cache Specific Pages" list. This will disable caching on those pages. If your visitors are experiencing caching problems on other dynamically created Woocommerce pages, select those pages from the same list.
One of my plugins are not performing properly since setting up SmartCache, or I am getting a Javascript error in the browser Inspector
If you have installed SmartCache Premium, go to the Minify tab and go down to the Javascript File Tuning area. Start entering the subject script file name in the "Search for Files" box. When you see it appear, deselect the corresponding Minify checkbox.
Why do pages seem to load slower after I make changes to the plugin?
Each time settings are saved, SmartCache clears the cache to make way for new files. This activity takes time to process. If you want to speed up the process of rebuilding the cached resources, select “Scan Site” from the “SmartCache” admin toolbar menu.
Why do pages seem to load slower after I save a post?
If you have the “Clear Caches When Saving Post Types” option in the Tools tab set to the same post type of the post you are saving, SmartCache will clear the caches. While this option will ensure the cache is refreshed as posts are updated, SmartCache will have to rebuild the cache.
Why doesn't the plugin cache files when I am logged into Wordpress?
Normally, administrative pages are not cached as these pages may contain dynamic content. If you want to view frontend pages as the public while logged in, enable the "Enable Minification for Logged-in Users?" and/or "Enable Combination for Logged-in Users?" options and select your user role from the user role list.