Plugin Directory

Changeset 2953767


Ignore:
Timestamp:
08/15/2023 11:27:48 AM (3 years ago)
Author:
pothi
Message:

tagging version 1.0.2

Location:
preload-fullpage-cache
Files:
3 edited
2 copied

Legend:

Unmodified
Added
Removed
  • preload-fullpage-cache/tags/1.0.2/preload-fullpage-cache.php

    r1761558 r2953767  
    22/*
    33Plugin Name: Preload Fullpage Cache
    4 Version: 1.0.1
     4Version: 1.0.2
    55Plugin URI: https://www.tinywp.in/preload-fullpage-cache/
    66Author: Pothi Kalimuthu
     
    2222
    2323        // verison to fetch: desktop
    24         // user-agent: Chrome 62 on a macOS Sierra 10.12.6
     24        // user-agent: Firefox 116 on macOS Big Sur 11.7.9
    2525        function preload_desktop( $post_ID, $post, $update ) {
    2626            $desktop_url = get_permalink( $post_ID );
    2727            $desktop_url_args = array(
    2828                'httpversion' => '1.1',
    29                 'user-agent'  => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36',
     29                'user-agent'  => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0', // Firefox on macOS
    3030            );
    3131            wp_remote_get( $desktop_url, $desktop_url_args );
     
    3333
    3434        // version to fetch: mobile
    35         // user-agent: iPhone 6 on iOS 9
     35        // user-agent: iPad Air (from Chrome)
    3636        function preload_mobile( $post_ID, $post, $update ) {
    3737            $mobile_url = get_permalink( $post_ID );
    3838            $mobile_url_args = array(
    3939                'httpversion' => '1.1',
    40                 'user-agent'  => 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1',
     40                'user-agent'  => 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1',
    4141            );
    4242            wp_remote_get( $mobile_url, $mobile_url_args );
  • preload-fullpage-cache/tags/1.0.2/readme.txt

    r2941625 r2953767  
    55Requires at least: 3.0
    66Tested up to: 6.3
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv3
    99Requires PHP: 5.3
     
    6767== Changelog ==
    6868
     69= 1.0.2 =
     70* Update user-agents
     71
    6972= 1.0.1 =
    7073* Update readme and inline docs
  • preload-fullpage-cache/trunk/preload-fullpage-cache.php

    r1761558 r2953767  
    22/*
    33Plugin Name: Preload Fullpage Cache
    4 Version: 1.0.1
     4Version: 1.0.2
    55Plugin URI: https://www.tinywp.in/preload-fullpage-cache/
    66Author: Pothi Kalimuthu
     
    2222
    2323        // verison to fetch: desktop
    24         // user-agent: Chrome 62 on a macOS Sierra 10.12.6
     24        // user-agent: Firefox 116 on macOS Big Sur 11.7.9
    2525        function preload_desktop( $post_ID, $post, $update ) {
    2626            $desktop_url = get_permalink( $post_ID );
    2727            $desktop_url_args = array(
    2828                'httpversion' => '1.1',
    29                 'user-agent'  => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36',
     29                'user-agent'  => 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0', // Firefox on macOS
    3030            );
    3131            wp_remote_get( $desktop_url, $desktop_url_args );
     
    3333
    3434        // version to fetch: mobile
    35         // user-agent: iPhone 6 on iOS 9
     35        // user-agent: iPad Air (from Chrome)
    3636        function preload_mobile( $post_ID, $post, $update ) {
    3737            $mobile_url = get_permalink( $post_ID );
    3838            $mobile_url_args = array(
    3939                'httpversion' => '1.1',
    40                 'user-agent'  => 'Mozilla/5.0 (iPhone; CPU iPhone OS 9_1 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Version/9.0 Mobile/13B143 Safari/601.1',
     40                'user-agent'  => 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1',
    4141            );
    4242            wp_remote_get( $mobile_url, $mobile_url_args );
  • preload-fullpage-cache/trunk/readme.txt

    r2941625 r2953767  
    55Requires at least: 3.0
    66Tested up to: 6.3
    7 Stable tag: 1.0.1
     7Stable tag: 1.0.2
    88License: GPLv3
    99Requires PHP: 5.3
     
    6767== Changelog ==
    6868
     69= 1.0.2 =
     70* Update user-agents
     71
    6972= 1.0.1 =
    7073* Update readme and inline docs
Note: See TracChangeset for help on using the changeset viewer.