1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Cache whole dynamically generated webpage?

Discussion in 'Apache' started by postcd, Oct 21, 2014.

  1. #1
    Hello,

    i already setup caching for html, images, css, js etc. but my pages are dynamically generated by CMS like wordpress and similar.
    SEMrush
    Is there any apache module or any clever way how i can cache whole dynamically generated page on my server?
    I mean like i have 6GB ram free, so i would like to dedicate like 3gb for this cache.

    But im afraid about visitor counters not updating or caching any other content that needs frequent update. So probably there is nothing which can help this in apache?
     
    postcd, Oct 21, 2014 IP
    SEMrush
  2. pavv

    pavv Well-Known Member

    Messages:
    264
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    120
    #2
    You can take a look at Varnish ... and configure it to wok with Apache.
    If you are using cPanel there is an addon at /http://applications.cpanel.net/appcat/varnish-cache-cpanel-addon-script
     
    pavv, Oct 22, 2014 IP
    etc likes this.
  3. postcd

    postcd Well-Known Member

    Messages:
    1,015
    Likes Received:
    9
    Best Answers:
    1
    Trophy Points:
    190
    #3
    Thx for advice, i just followed manual on this page to install it. But unfortunatelly when i browsed my websites like each 15th webpage/subpage stopped working with 403 error. Not sure in which log i should look or if there is varnish log of errors
     
    postcd, Oct 22, 2014 IP