Advanced search  


cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.

Pages: [1]   Go Down

Author Topic: Theme caching plugin  (Read 3498 times)

0 Members and 1 Guest are viewing this topic.


  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 1818
Theme caching plugin
« on: July 07, 2020, 02:22:07 pm »

Here is a CPG 1.6.x plugin that will cache home, category and album pages for non logged in users. Set cache expiration time in plugin config. Themes must be enabled for caching by creating a writeable "cache" folder in the theme folder.

The plugin should greatly reduce database accesses and increase performance for public facing galleries.

Updated: V1.0 adds a <!-- CACHED --> tag to the bottom of the page when delivered from cache (for support purposes).

« Last Edit: March 07, 2021, 02:23:08 pm by ron4mac »


  • Coppermine newbie
  • Offline Offline
  • Posts: 19
Re: Theme caching plugin
« Reply #1 on: July 30, 2020, 03:35:56 am »

Thank you very much for this plugin. It has helped me greatly reduce my server load.

Question, what will happen if the "cache" folder doesn't exist? Is the plugin just ignored then?

Is there no way to make the "cache" folder inside the plugin folder or a "temp" folder? I see it being a nuisance to have to remember to create a "cache" folder when activating new themes.
Pages: [1]   Go Up

Page created in 0.046 seconds with 20 queries.